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 π
errmsg(7)msg(3)
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 πβ¨
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms