poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / gets.texi
blob23ba18dc9dff525493b299bd97ed7e56c8cc2247
1 @node gets
2 @section @code{gets}
3 @findex gets
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/gets.html}
7 Gnulib module: ---
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 This function should never be used, because it can overflow any given buffer.
17 @item
18 This function is missing on some platforms:
19 OpenBSD 6.7, Solaris 11.4.
20 @item
21 When reading from a non-blocking pipe whose buffer is empty, this function
22 fails with @code{errno} being set to @code{EINVAL} instead of @code{EAGAIN} on
23 some platforms:
24 mingw, MSVC 14.
25 @item
26 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
27 upon failure.
28 @end itemize