view doc/posix-functions/scanf.texi @ 15481:847372253549

Documentation about Minix. * doc/posix-headers/*.texi: Add info about Minix 3.1.8. * doc/glibc-headers/*.texi: Likewise. * doc/posix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sun, 31 Jul 2011 14:31:24 +0200
parents 8b22057e98d2
children 6355dc4626b5
line wrap: on
line source

@node scanf
@section @code{scanf}
@findex scanf

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/scanf.html}

Gnulib module: stdio, nonblocking

Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
@itemize
@item
When reading from a non-blocking pipe whose buffer is empty, this function
fails with @code{errno} being set to @code{EINVAL} instead of @code{EAGAIN} on
some platforms:
mingw.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
On Windows platforms (excluding Cygwin), this function does not set @code{errno}
upon failure.
@item
On Windows, this function doesn't support the @code{hh}, @code{ll}, @code{j},
@code{t}, @code{z} size specifiers.
@end itemize