X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fputs.texi;h=31e3f0e4109148e23721a62544972729627b4e8f;hb=176cd193605775b290fee26568eec5d1ebd47f58;hp=60de4f9d19507717446c59b69398154b4509b902;hpb=09ef7461110822a3970aa8eebcfaa740996a82f2;p=gnulib.git diff --git a/doc/posix-functions/puts.texi b/doc/posix-functions/puts.texi index 60de4f9d1..31e3f0e41 100644 --- a/doc/posix-functions/puts.texi +++ b/doc/posix-functions/puts.texi @@ -2,11 +2,20 @@ @section @code{puts} @findex puts -POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/puts.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/puts.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