STRTOLL(3POSIX)

✨ hey bestie, welcome to strtoll ✨

okay so real talk β€” this is STRTOLL(3POSIX) from the POSIX Programmer's Manual, and it's the little page that tells you to go read its sibling. short king energy, but important. πŸ’–


🌸 PROLOG 🌸

This manual page is part of the POSIX Programmer's Manual. Heads up though: the Linux implementation of this interface may differ β€” so if you're on Linux, go consult the corresponding Linux manual page for the deets on Linux behavior. or… the interface may not be implemented on Linux at all. 😭 vibe check accordingly.


πŸŽ€ NAME πŸŽ€

strtoll β€” convert a string to a long integer

like. it takes a string. it gives you back a long long. that's the whole plot. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <stdlib.h>

long long strtoll(const char *restrict str, char **restrict endptr,
    int base);

so you're pulling in <stdlib.h>, and you've got a function taking const char *restrict str, a char **restrict endptr, and an int base, returning a long long. iconic signature honestly. ✨


🌈 DESCRIPTION 🌈

Refer to strtol().

that's it. that's the description. this page is a redirect bestie, the actual lore lives in strtol(). go read that one, iykyk. 🫢


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 .


fr fr, if you spot a typo it's probably from the man-page conversion, not from the Standard itself. don't come for the Standard. πŸ’€

and that's the whole page!! IEEE/The Open Group, 2017, signing off β€” STRTOLL(3POSIX) out. slay, stay converting, and go read strtol(). mwah πŸ’–βœ¨πŸŽ€πŸ¦‹