7587fbb9d97de68253befd2b34d3beac206e4028
[gnulib.git] / doc / posix-functions / write.texi
1 @node write
2 @section @code{write}
3 @findex write
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/write.html}
6
7 Gnulib module: write, nonblocking, sigpipe
8
9 Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
10 @itemize
11 @item
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
14 platforms:
15 mingw.
16 @end itemize
17
18 Portability problems fixed by Gnulib module @code{stdio}, together with module @code{sigpipe}:
19 @itemize
20 @item
21 When writing to a pipe with no readers, this function fails with error
22 @code{EINVAL}, instead of obeying the current @code{SIGPIPE} handler, on
23 some platforms:
24 mingw.
25 @end itemize
26
27 Portability problems not fixed by Gnulib:
28 @itemize
29 @end itemize