adime_init(3)

πŸ“¦ version 2.2.1, in fedora 43, fedora 44

πŸ’– adime_init β€” the little function that starts it ALL πŸ’–

okay bestie, welcome to the Adime manual page for adime_init(3). this is the Adime API Reference, and honestly? this is where every Adime journey begins. no cap. πŸŽ€


✨ SYNOPSIS ✨

#include <adime.h>

int adime_init(void);

like... look at her. no arguments. takes nothing, gives everything. main character energy fr fr. πŸ‘‘


🌸 DESCRIPTION 🌸

okay so, adime_init initializes the Adime system. that's the whole job. that's her moment. πŸ’…

and here's the thing you absolutely CANNOT skip, bestie: you have to call her before using any other Adime functions. every single one. she goes first. she's the opener. πŸ¦‹

but wait β€” there's an order to this ritual and it matters:

call adime_init after calling allegro_init() β€” not before, not in the middle of a chaos spiral, AFTER. got it? 🫢

as for what she gives back:

  • zero on success β€” yay, we're so back ✨
  • nonzero on error β€” something went sideways, bestie 😭

that's it. that's the whole vibe check. simple, iconic, load-bearing. 🌈


πŸ‘€ SEE ALSO πŸ‘€

  • adime_exit(3) β€” the other half of the story, the goodbye to this hello πŸ₯Ί

this page lives in Adime, version 2.2.1 🌸 β€” mwah, take care of her, she's been serving since forever, and she's still here, still iconic, still initializing. periodt. πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from