msg(3)

πŸ’– NAME πŸ’–

okay so bestie, this page is about msg β€” it prints a diagnostic. that's the whole vibe. short, sweet, iconic. πŸ’…


✨ SYNTAX ✨

like, this is literally how you summon it:

#include <libowfat/errmsg.h>

void msg(const char *message, ...);

note the ... at the end, she takes extra arguments, she's flexible like that πŸ¦‹


🌸 DESCRIPTION 🌸

so msgsys is basically msg's louder sibling πŸ‘‘ β€” it does everything msg does, but on top of that it also prints a string representation of the system error code (the one hanging out in errno).

ngl, when you've got a mysterious error and you're staring at errno like πŸ‘οΈπŸ‘„πŸ‘οΈ, that's exactly when you want the one that spells it out for you.


πŸŽ€ SEE ALSO πŸŽ€

go read those too, fr fr, they're the friend group πŸ’–


and that's the whole page, no cap β€” this was msg(3) from the Library Functions Manual, section 3, brought to you by libowfat. mwah, slay, go print some diagnostics bestie πŸ’œβœ¨