X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fputchar.texi;h=2ded45a2aed46b23f8bf51faf7a136054c08c999;hb=176cd193605775b290fee26568eec5d1ebd47f58;hp=e010ae2590c249845563001d31f4bcbb6b236f5a;hpb=09ef7461110822a3970aa8eebcfaa740996a82f2;p=gnulib.git diff --git a/doc/posix-functions/putchar.texi b/doc/posix-functions/putchar.texi index e010ae259..2ded45a2a 100644 --- a/doc/posix-functions/putchar.texi +++ b/doc/posix-functions/putchar.texi @@ -2,11 +2,20 @@ @section @code{putchar} @findex putchar -POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/putchar.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/putchar.html} -Gnulib module: stdio, sigpipe +Gnulib module: stdio, nonblocking, sigpipe -Portability problems fixed by Gnulib: +Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}: +@itemize +@item +When writing to a non-blocking pipe whose buffer is full, this function fails +with @code{errno} being set to @code{ENOSPC} instead of @code{EAGAIN} on some +platforms: +mingw. +@end itemize + +Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}: @itemize @item When writing to a pipe with no readers, this function fails, instead of @@ -19,4 +28,8 @@ Portability problems not fixed by Gnulib: @item On Windows platforms (excluding Cygwin), this function does not set @code{errno} upon failure. +@item +On some platforms, this function does not set @code{errno} or the +stream error indicator on attempts to write to a read-only stream: +Cygwin 1.7.9. @end itemize