stdio: don't assume gets any more
[gnulib.git] / doc / posix-functions / gets.texi
1 @node gets
2 @section @code{gets}
3 @findex gets
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/gets.html}
6
7 Gnulib module: ---
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
12
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 When reading from a non-blocking pipe whose buffer is empty, this function
19 fails with @code{errno} being set to @code{EINVAL} instead of @code{EAGAIN} on
20 some platforms:
21 mingw, MSVC 9.
22 @item
23 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
24 upon failure.
25 @end itemize