STRTOLL(3P)

✨ STRTOLL(3P) ✨

okay bestie, so this one's from the POSIX Programmer's Manual (yes, the POSIX Programmer's Manual, we're fancy now πŸ’…) and it's literally the teeny tiniest little page β€” but every crumb of it matters, so let's go 🫢


🚨 PROLOG 🚨

Real talk before we start: this manual page is part of the POSIX Programmer's Manual. But β€” and this is the part where you sit up straight β€” the Linux implementation of this interface may differ (so if you're on Linux, go check the corresponding Linux manual page for the actual deets, no cap). Or, plot twist, the interface may not be implemented on Linux at all. 😭 So vibe check your platform first, fr fr.


πŸŽ€ NAME πŸŽ€

strtoll β€” convert a string to a long long integer. That's it, that's the whole job, and she does it iconically πŸ‘‘


🌸 SYNOPSIS 🌸

#include <stdlib.h>

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

look at her. three args, one long long back. main character energy πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so for the actual explanation? Refer to strtol(). That's the whole thing. This page is basically the group chat saying "go ask the other girl, she has the details" πŸ™ˆ β€” strtoll is just strtol's taller sibling.


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 β€” like, she's the final boss, she calls the shots, no arguing 🫑

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 .


πŸ’œ so that's the whole page, short and sweet and absolutely slaying. credit where credit is due: IEEE/The Open Group, 2017, and the page is STRTOLL(3P). mwah, periodt βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from