X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fpoll.texi;h=ec1bdda9cd7c635e7247e77dbafc2402e4aa1ff1;hb=6e5f53c09490a510344a65d26f5e3989a048fcdf;hp=852663b95cae101b1f2198c72756df97fc65cdae;hpb=80fc442c212439b65a2fba722b17529aba2aa1ae;p=gnulib.git diff --git a/doc/posix-functions/poll.texi b/doc/posix-functions/poll.texi index 852663b95..ec1bdda9c 100644 --- a/doc/posix-functions/poll.texi +++ b/doc/posix-functions/poll.texi @@ -10,13 +10,25 @@ Portability problems fixed by Gnulib: @itemize @item This function is missing on some platforms: -mingw, BeOS. +mingw, MSVC 9, BeOS, 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 X 10.4.0, AIX 5.3. +Mac OS X 10.4.0, AIX 5.3. @end itemize Portability problems not fixed by Gnulib: @itemize +@item +Under BeOS, Gnulib's @code{poll} replacement can only be called on descriptors +created by the @code{socket} function, not on regular file descriptors. + +@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 +Under HP NonStop, file descriptors other than sockets do not support +POLLHUP; they will return a "readable" status instead. @end itemize