2 @subsection @code{fwrite}
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/fwrite.html}
7 Gnulib module: stdio, nonblocking, sigpipe
9 Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
12 When writing to a non-blocking pipe whose buffer is full, this function fails
13 with @code{errno} being set to @code{ENOSPC} instead of @code{EAGAIN} on some
18 Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
21 When writing to a pipe with no readers, this function fails, instead of
22 obeying the current @code{SIGPIPE} handler, on some platforms:
26 Portability problems not fixed by Gnulib:
29 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
32 On some platforms, this function does not set @code{errno} or the
33 stream error indicator on attempts to write to a read-only stream:
36 This function crashes if the stream's file descriptor has already been
37 closed, if @code{MSVC_INVALID_PARAMETER_HANDLING} is
38 @code{HAIRY_LIBRARY_HANDLING} or @code{SANE_LIBRARY_HANDLING},