SWSCANF(3P)

πŸ¦‹ PROLOG πŸ¦‹

okay so bestie, real talk before we even start: this manual page is part of the POSIX Programmer's Manual. and like… the Linux implementation of this interface may differ πŸ‘€ (so pls consult the corresponding Linux manual page for details of Linux behavior), or honestly? the interface may not even be implemented on Linux at all. vibe check: check your platform first, i'm begging 🫢


✨ NAME ✨

swscanf β€” convert formatted wide-character input πŸ’…


🌸 SYNOPSIS 🌸

#include <stdio.h>
#include <wchar.h>

int swscanf(const wchar_t *restrict ws,
    const wchar_t *restrict format, ...);

like yes, that's the whole thing. restrict twice, variadic args, iconic behavior πŸ’–


πŸ‘‘ DESCRIPTION πŸ‘‘

Refer to fwscanf(). periodt. that's it, that's the description 😭

like literally the entire description is "go read fwscanf()" β€” she's minimal, she's mysterious, she's lowkey gatekeeping. so if you want the actual deets on conversion specs and all that, fwscanf() is your girl. slay.


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.

and if there's ever 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, no cap. you can get the original Standard online at http://www.opengroup.org/unix/online.html 🌈

also, 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 me, i'm just the messenger πŸ™ˆ). to report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html


and that's the whole page bestie!! πŸ’– this one came from IEEE/The Open Group, dated 2017, and it's the SWSCANF(3P) page from the POSIX Programmer's Manual. mwah, go read fwscanf() fr fr πŸ¦‹βœ¨

πŸ“¦ where this page comes from