becomes ready or until a signal is caught.
.PP
Other than the difference in the precision of the
-timeout argument, the following
+.I timeout
+argument, the following
.BR ppoll ()
call:
.nf
sigset_t origmask;
int timeout;
- timeout = (timeout_ts == NULL) ? -1 :
+ timeout = (timeout_ts == NULL) ? \-1 :
(timeout_ts.tv_sec * 1000 + timeout_ts.tv_nsec / 1000000);
sigprocmask(SIG_SETMASK, &sigmask, &origmask);
ready = poll(&fds, nfds, timeout);
.BR ppoll ()
differs from
.BR poll ()
-only in the precision of the timeout argument).
+only in the precision of the
+.I timeout
+argument).
The
.I timeout_ts
The
.BR poll ()
library call was introduced in libc 5.4.28
-(and provides emulation using select(2) if your kernel does not
+(and provides emulation using
+.BR select (2)
+if your kernel does not
have a
.BR poll ()
system call).