Print this page
10533 Convert sockio(7I) to mandoc

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7i/sockio.7i.man.txt
          +++ new/usr/src/man/man7i/sockio.7i.man.txt
   1    1  SOCKIO(7I)                      Ioctl Requests                      SOCKIO(7I)
   2    2  
   3      -
   4      -
   5    3  NAME
   6      -       sockio - ioctls that operate directly on sockets
        4 +     sockio - ioctls that operate directly on sockets
   7    5  
   8    6  SYNOPSIS
   9      -       #include <sys/sockio.h>
        7 +     #include <sys/sockio.h>
  10    8  
  11      -
  12    9  DESCRIPTION
  13      -       The ioctls listed in this manual page apply directly to sockets,
  14      -       independent of any underlying protocol. The setsockopt() call (see
  15      -       getsockopt(3SOCKET)) is the primary method for operating on sockets,
  16      -       rather than on the underlying protocol or network interface. ioctls for
  17      -       a specific network interface or protocol are documented in the manual
  18      -       page for that interface or protocol.
       10 +     The ioctls listed in this manual page apply directly to sockets,
       11 +     independent of any underlying protocol.  The setsockopt(3SOCKET) call
       12 +     (see getsockopt(3SOCKET)) is the primary method for operating on sockets,
       13 +     rather than on the underlying protocol or network interface.  ioctls for
       14 +     a specific network interface or protocol are documented in the manual
       15 +     page for that interface or protocol.
  19   16  
  20      -       SIOCSPGRP
  21      -                      The argument is a pointer to an int. Set the process-
  22      -                      group ID that will subsequently receive SIGIO or SIGURG
  23      -                      signals for the socket referred to by the descriptor
  24      -                      passed to ioctl to the value of that int. The argument
  25      -                      must be either positive (in which case it must  be a
  26      -                      process ID) or negative (in which case it must be a
  27      -                      process group).
       17 +     SIOCSPGRP    The argument is a pointer to an int.  Set the process-group
       18 +                  ID that will subsequently receive SIGIO or SIGURG signals
       19 +                  for the socket referred to by the descriptor passed to ioctl
       20 +                  to the value of that int.  The argument must be either
       21 +                  positive (in which case it must be a process ID) or negative
       22 +                  (in which case it must be a process group).
  28   23  
       24 +     SIOCGPGRP    The argument is a pointer to an int.  Get the value of that
       25 +                  int to the process-group ID that is receiving SIGIO or
       26 +                  SIGURG signals for the socket referred to by the descriptor
       27 +                  passed to ioctl.
  29   28  
  30      -       SIOCGPGRP
  31      -                      The argument is a pointer to an int. Set the value of
  32      -                      that int to the process-group ID that is receiving SIGIO
  33      -                      or SIGURG signals for the socket referred to by the
  34      -                      descriptor passed to ioctl.
       29 +     SIOCCATMARK  The argument is a pointer to an int.  Set the value of that
       30 +                  int to 1 if the read pointer for the socket referred to by
       31 +                  the descriptor passed to ioctl(2) points to a mark in the
       32 +                  data stream for an out-of-band message.  Set the value of
       33 +                  that int to 0 if the read pointer for the socket referred to
       34 +                  by the descriptor passed to ioctl does not point to a mark
       35 +                  in the data stream for an out-of-band message.
  35   36  
  36      -
  37      -       SIOCCATMARK
  38      -                      The argument is a pointer to an int. Set the value of
  39      -                      that int to 1 if the read pointer for the socket
  40      -                      referred to by the descriptor passed to ioctl points to
  41      -                      a mark in the data stream for an out-of-band message.
  42      -                      Set the value of that int to 0 if the read pointer for
  43      -                      the socket referred to by the descriptor passed to ioctl
  44      -                      does not point to a mark in the data stream for an  out-
  45      -                      of-band message.
  46      -
  47      -
  48   37  SEE ALSO
  49      -       ioctl(2), getsockopt(3SOCKET)
       38 +     ioctl(2), getsockopt(3SOCKET)
  50   39  
  51      -
  52      -
  53      -                               November 8, 1996                     SOCKIO(7I)
       40 +illumos                        October 29, 2017                        illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX