WCSTOLD(3P)

πŸ¦‹ WCSTOLD(3P) β€” the wide-char-to-long-double glow-up πŸ¦‹

okay bestie, so this little cutie lives in the POSIX Programmer's Manual, and I need you to clock something before we even start:

⚠️ PROLOG moment ⚠️ 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. no cap, it might just not exist on ur box. vibe check ur system first.

✨ NAME ✨

wcstold β€” convert a wide-character string to a double-precision number πŸ’…

like. she takes wide chars and she gives u a double-precision number. that's the whole job. iconic.


🌸 SYNOPSIS 🌸

#include <wchar.h>

long double wcstold(const wchar_t *restrict nptr,
    wchar_t **restrict endptr);

look at her. two params. both restrict. she knows what she wants. 🫢


πŸ’– DESCRIPTION πŸ’–

okay so listen β€” Refer to wcstod().

that's it. that's the whole description. she's not gonna explain herself twice, she's pointing u at her sibling wcstod() and saying go read that, it's giving the same energy. 😭


okay legal bestie time, we have to do this, it's the rules πŸŽ€

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. (that means the original wins, fr fr, 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 .

not me being the messenger and also possibly the one with the typos πŸ™ˆ if something looks cursed, it's probably a conversion glitch, pls report it at the link above.

and that's the whole page, bestie!! every detail preserved, every flag... well, every non-flag, because she literally has none, she just points at wcstod(). main character energy: minimal, mysterious, effective. ✨

this diva was brought to you by IEEE/The Open Group, 2017 β€” signing off, mwah πŸ’œπŸ’…

πŸ“¦ where this page comes from