VSSCANF(3POSIX)

🌸 PROLOG 🌸

okay bestie, real talk before we get into it: this page is part of the POSIX Programmer's Manual πŸ’–. The Linux implementation of this interface may be different (so if you're on Linux, go check the matching Linux manual page for the tea β˜•), or honestly the interface might not even be implemented on Linux at all. no cap. πŸ™ˆ


πŸ‘‘ NAME πŸ‘‘

vsscanf β€” format input of a stdarg argument list

like… it takes a big ol' pile of variable arguments and reads formatted input out of them. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <stdarg.h>
#include <stdio.h>

int vsscanf(const char *restrict s, const char *restrict format,
    va_list arg);

three headers-included things, one function, four params. iconic. ✨


πŸ’– DESCRIPTION πŸ’–

Refer to vfscanf().

that's it. that's the whole description. the POSIX girlies said "go read the other one, it's giving the same energy" and honestly? valid. 🫢 vsscanf is lowkey just the va_list-flavored sibling of that whole family, so the real details live over there. go look. iykyk. πŸ’…


okay so legally we have to do this part and we're doing it properly, no skipping. 🧚

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, the original is the main character here, not this page.

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. 😭 (not on purpose bestie, i promise). To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


and that's the whole page, fr fr 🌈. this one came to you straight from IEEE/The Open Group, 2017 β€” the VSSCANF(3POSIX) era, periodt. go format something. πŸ’œπŸŒΈ