Next: sched_get_priority_max
, Previous: scandir
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
scanf
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/scanf.html
LSB specification:
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-scanf.html
Gnulib module: stdio, nonblocking
Portability problems fixed by Gnulib module stdio
, together with module nonblocking
:
errno
being set to EINVAL
instead of EAGAIN
on
some platforms:
mingw, MSVC 14.
Portability problems not fixed by Gnulib:
feof
would return nonzero. However, on some systems this
function attempts to read from the underlying file descriptor even if
the stream’s end-of-file indicator is set. These systems include
glibc and default Solaris.
w8
,
w16
, w32
, w64
, wf8
, wf16
, wf32
,
wf64
) on some platforms:
glibc 2.38, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
errno
upon failure.
hh
, ll
, j
,
t
, z
size specifiers.