5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/read.html}
7 Gnulib module: read, stdio, nonblocking
9 Portability problems fixed by Gnulib module @code{read}:
12 This function is declared in a different header file (namely, @code{<io.h>})
16 This function crashes when invoked with invalid arguments on some platforms:
20 Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
23 When reading from a non-blocking pipe whose buffer is empty, this function
24 fails with @code{errno} being set to @code{EINVAL} instead of @code{EAGAIN} on
29 Portability problems not fixed by Gnulib:
32 This function may fail with error @code{EINTR}, even in programs that don't
33 install any signal handlers, on some platforms:
37 For handling @code{EINTR}, Gnulib provides a module @samp{safe-read} with a
38 function @code{safe_read}.