Print this page
11641 spelling mistakes in section 7d of the manual

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7d/poll.7d.man.txt
          +++ new/usr/src/man/man7d/poll.7d.man.txt
↓ open down ↓ 90 lines elided ↑ open up ↑
  91   91         of the polled file descriptors, the DP_POLL ioctl call will wait
  92   92         dp_timeout milliseconds before returning. If dp_timeout is 0, the ioctl
  93   93         call returns immediately. If dp_timeout is -1, the call blocks until an
  94   94         interested poll events is available or the call is interrupted. Upon
  95   95         return, if the ioctl call has failed, -1 is returned. The memory
  96   96         content pointed by dp_fds is not modified. A return value 0 means the
  97   97         ioctl is timed out. In this case, the memory content pointed by  dp_fds
  98   98         is not modified. If the call is successful, it returns the number of
  99   99         valid pollfd entries in  the array pointed by dp_fds; the contents of
 100  100         the rest of the buffer is undefined. For each valid pollfd entry, the
 101      -       fd field indicates the file desciptor on which the polled events
      101 +       fd field indicates the file descriptor on which the polled events
 102  102         happened. The  events field is the user specified poll events. The
 103  103         revents field contains the  events occurred. -1 is returned if the
 104  104         call fails.
 105  105  
 106  106  
 107  107         DP_ISPOLLED ioctl allows you to query if a file descriptor is already
 108  108         in the  monitored set represented by  fd. The fd field of the pollfd
 109  109         structure indicates the file descriptor of interest. The DP_ISPOLLED
 110  110         ioctl returns  1 if the file descriptor is in the set.  The events
 111  111         field contains  0. The revents field contains the currently polled
↓ open down ↓ 195 lines elided ↑ open up ↑
 307  307         child process should close the inherited  /dev/poll file descriptor and
 308  308         open its own if desired.
 309  309  
 310  310  
 311  311         The  /dev/poll driver does not yet support polling. Polling on a
 312  312         /dev/poll file descriptor will result in POLLERR being returned in the
 313  313         revents field of pollfd structure.
 314  314  
 315  315  
 316  316  
 317      -                                 April 9, 2016                        POLL(7D)
      317 +                               January 10, 2020                       POLL(7D)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX