OSDN Git Service

(split) LDP_man-pages: update original to v3.34.
[linuxjm/LDP_man-pages.git] / original / man2 / poll.2
index 44986fa..7cf1642 100644 (file)
@@ -191,7 +191,8 @@ allows an application to safely wait until either a file descriptor
 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
@@ -207,7 +208,7 @@ executing the following calls:
     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);
@@ -228,7 +229,9 @@ no signal mask manipulation is performed
 .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
@@ -287,7 +290,9 @@ system call was introduced in Linux 2.1.23.
 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).