EC_INIT(3)

✨ EC_INIT(3) β€” the libecoli glow-up starts here ✨

okay so bestie, welcome to the Libecoli Programmer's Manual πŸ’– this is the very first thing you gotta do if you wanna hang with libecoli, no cap.


🌸 NAME 🌸

ec_init β€” Initialize ecoli library. like, wake it up, put its little shoes on, get it ready for the day 🫢


✨ SYNOPSIS ✨

#include <ecoli/init.h>

int ec_init(
    void
);

πŸ’… DESCRIPTION πŸ’…

Okay so listen. ec_init is the moment. It has to be called before any other function from libecoli. That's it. That's the whole vibe. No ec_init, no library. It's giving "you can't sit with us until you say hi first" 😭

Call it once at the start, and then you're free to go wild with the rest of the API. Periodt. πŸ‘‘


πŸŽ€ RETURN VALUE πŸŽ€

  • 0 β€” success, slay, we're so back πŸ’–
  • -1 β€” error, and errno is set. not iconic. go check errno to find out what went wrong πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.


and that's the tea, bestie πŸ“ this page came from libecoli, dated 2026-06-11, and it's literally EC_INIT(3) β€” go forth and initialize responsibly πŸ’œ

πŸ“¦ where this page comes from