view doc/posix-functions/scanf.texi @ 16254:da62858ef2f6

doc: Update for Solaris 11 2011-11. * doc/*/*.texi: Mention Solaris 11 2011-11 where appropriate. * m4/printf.m4: Update comments.
author Bruno Haible <bruno@clisp.org>
date Sun, 08 Jan 2012 19:57:28 +0100
parents 6355dc4626b5
children 80904f782122
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, MSVC 9.
@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