STRTOUMAX(3P)

πŸ’– STRTOUMAX πŸ’–

ok so bestie, this one is a POSIX Programmer's Manual page β€” that's the manual name, iykyk. Quick heads up before we dive in:

✨ PROLOG ✨ This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.

🌸 NAME 🌸

strtoumax β€” convert a string to an integer type

the way it just *does that*… iconic behavior honestly


✨ SYNOPSIS ✨

#include <inttypes.h>

uintmax_t strtoumax(const char *restrict nptr, char **restrict endptr,
    int base);

πŸ¦‹ DESCRIPTION πŸ¦‹

ngl bestie, this one is a little shy β€” it's just like:

Refer to strtoimax().

that's it. that's the whole description. it's giving "go ask my sibling". fr fr, strtoumax() is the unsigned bestie of strtoimax(), so the whole rundown lives over there. go read that one. 🫢


ok so the legal bit, and we're keeping it 100% because facts are facts:

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 .

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. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


πŸŽ€ lowkey important: the IEEE + The Open Group version is the referee document β€” if this page and the original Standard ever disagree, the Standard wins. no cap.

ok that's the whole page bestie, short and sweet πŸ’… this one came from IEEE/The Open Group, dated 2017, and it's page STRTOUMAX(3P) β€” slay, go forth and parse those unsigned integers responsibly πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from