LLDIV(3POSIX)

πŸ’– lldiv(3POSIX) β€” the POSIX Programmer's Manual glow-up πŸ’–

okay bestie, so this page lives in the POSIX Programmer's Manual, and we're doing lldiv today. slay.


🚨 PROLOG 🚨

okay so real talk before we get into it: this manual page is part of the POSIX Programmer's Manual. that's the whole vibe.

⚠️ heads up bestie: the Linux implementation of this interface may differ β€” so consult the corresponding Linux manual page for the details of Linux behavior, okay? or honestly, the interface may not be implemented on Linux at all. πŸ’€ not me warning you twice. i'm just looking out for you fr fr.

✨ NAME ✨

lldiv β€” compute quotient and remainder of a long division πŸ“

like. it divides. it gives you the leftovers. main character energy honestly.


πŸ“œ SYNOPSIS πŸ“œ

#include <stdlib.h>

lldiv_t lldiv(long long numer, long long denom);

you're pulling in <stdlib.h> and calling lldiv with two long longs: numer and denom. cute. simple. iconic. πŸ’…


🌸 DESCRIPTION 🌸

Refer to ldiv().

🫢 yes queen, that's the entire description. it's giving "go read your sibling's page." and honestly? valid. lldiv is the long long version of ldiv, so everything that applies over there applies here. no cap.

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. no arguing with the referee, periodt. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

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. 😭 not the conversion process doing us dirty again. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


and that's the whole page bestie!! 🌈✨ this lil masterpiece was brought to you by IEEE/The Open Group, dated 2017, filed under LLDIV(3POSIX) β€” mwah, go divide something. πŸ’–πŸŽ€πŸ¦‹