ALLEGRO_USECS_TO_SECS(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

🌸 ALLEGRO_USECS_TO_SECS(3) 🌸

okay so welcome to this Library Functions Manual page, bestie. The main character is ALLEGRO_USECS_TO_SECS, a macro from the Allegro 5 API, and its whole vibe is turning microseconds into seconds. πŸ’…

✨ NAME ✨

ALLEGRO_USECS_TO_SECS β€” Allegro 5 API.

πŸ“œ SYNOPSIS πŸ“œ

#include <allegro5/allegro.h>

#define ALLEGRO_USECS_TO_SECS(x)      ((x) / 1000000.0)

πŸ’– DESCRIPTION πŸ’–

Convert microseconds to seconds. That's it, that's the lore. πŸŽ€

The macro body is literally ((x) / 1000000.0), so the microseconds-to-seconds pipeline is right there in the synopsis, no cap. ✨


Signing off from the Allegro reference manual, page ALLEGRO_USECS_TO_SECS(3) πŸ«ΆπŸ’–

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms