md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
[gnulib.git] / doc / posix-functions / poll.texi
1 @node poll
2 @section @code{poll}
3 @findex poll
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/poll.html}
6
7 Gnulib module: poll
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 mingw, MSVC 9, BeOS, HP NonStop.
14 @item
15 This function doesn't work on special files like @file{/dev/null} and ttys like
16 @file{/dev/tty} on some platforms:
17 Mac OS X 10.4.0, AIX 5.3.
18 @end itemize
19
20 Portability problems not fixed by Gnulib:
21 @itemize
22 @item
23 Under BeOS, Gnulib's @code{poll} replacement can only be called on descriptors
24 created by the @code{socket} function, not on regular file descriptors.
25
26 @item
27 Under Windows, when passing a pipe, Gnulib's @code{poll} replacement might
28 return 0 even before the timeout has passed.  Programs using it with pipes can
29 thus busy wait.
30
31 @item
32 Under HP NonStop, file descriptors other than sockets do not support
33 POLLHUP; they will return a "readable" status instead.
34 @end itemize