LLABS(3POSIX)

πŸ’– LLABS(3POSIX) β€” the long long glow-up πŸ’–

okay bestie, so this is llabs, and it lives in the POSIX Programmer's Manual. we're in our IEEE Std 1003.1 era, so let's get into it πŸŽ€


🌸 PROLOG 🌸

so like, heads up before we even start: this manual page is part of the POSIX Programmer's Manual. that's the vibe.

but real talk β€” the Linux implementation of this interface may differ (so if you're on Linux, go consult the corresponding Linux manual page for the actual deets), or honestly the interface may not even be implemented on Linux at all. iykyk 😭


✨ NAME ✨

llabs β€” return a long integer absolute value. no cap, that's the whole job description. she's simple, she's iconic, she serves πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <stdlib.h>

long long llabs(long long i);

look at her. one include, one function, one long long argument. minimalism is the moment πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

refer to labs(). that's it. that's the whole description. bestie this page is short and she knows it 🫢


okay so legally we gotta say this, and we're gonna say it properly, because accuracy is the whole point:

portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group.

in the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. the original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

and any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. so like, if you spot a glitch, it's probably the conversion, not the standard πŸ™ˆ

to report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


okay and finally, the lil sign-off from the very bottom of the page: this one's brought to you by IEEE/The Open Group, dated 2017, filed under LLABS(3POSIX). she's giving ✨ archival realness ✨, and honestly? we're obsessed. periodt πŸ’–πŸ’…πŸŽ€