mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 11:16:02 +00:00
* doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
32 lines
894 B
Plaintext
32 lines
894 B
Plaintext
@node poll
|
|
@subsection @code{poll}
|
|
@findex poll
|
|
|
|
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/poll.html}
|
|
|
|
Gnulib module: poll
|
|
@mindex poll
|
|
|
|
Portability problems fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
This function is missing on some platforms:
|
|
mingw, MSVC 14, HP NonStop.
|
|
@item
|
|
This function doesn't work on special files like @file{/dev/null} and ttys like
|
|
@file{/dev/tty} on some platforms:
|
|
macOS 14, AIX 5.3.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
Under Windows, when passing a pipe, Gnulib's @code{poll} replacement might
|
|
return 0 even before the timeout has passed. Programs using it with pipes can
|
|
thus busy wait.
|
|
@item
|
|
On some platforms, file descriptors other than sockets do not support
|
|
POLLHUP; they will return a "readable" or "writable" status instead:
|
|
AIX 7.2, Cygwin 3.4.6, HP NonStop, mingw, MSVC.
|
|
@end itemize
|