die(3)
π die(3) β Library Functions Manual π
okay bestie, gather round, because today we're talking about die from the libowfat girlies π
this page lives in the Library Functions Manual and honestly? she's short, she's dramatic, she's iconic. no notes.
β¨ NAME β¨
die β print a warning diagnostic and then abort the program ππ
like. that's the whole job. she prints. she aborts. she does not elaborate.
πΈ SYNTAX πΈ
#include <libowfat/errmsg.h>
void die(int exitcode, const char *message, ...);
yes ma'am, <libowfat/errmsg.h> is the header, don't forget to include her or she simply will not show up π
π¦ DESCRIPTION π¦
so here's the tea: diesys is like die, except it will also print a string representation of the system error code (the one coming from errno). π«Ά
that's it, that's the description. the page really said "I'm gonna tell you about diesys in the die description" and honestly? main character energy, we respect it. π
β NOTE β
This function does not return. β οΈ
not "returns void", not "returns eventually", not "returns if you ask nicely" β she does not return. periodt. π
if you were waiting for control to come back after calling die, bestie, it is not coming back. plan accordingly.
π SEE ALSO π
errmsg(7)πdie(3)π
(yes she's linking herself, and yes that's valid, she's that girl π)
okay that's the whole page, short and slay β¨ this has been die(3) from the Library Functions Manual β take care of yourselves, check your errno, and remember: she does not return πππ§
π¦ 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