Print this page
10271 Convert cf{get,set}ispeed.3C and cf{get,set}speed.3C to mandoc

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3c/cfgetispeed.3c.man.txt
          +++ new/usr/src/man/man3c/cfgetispeed.3c.man.txt
   1    1  CFGETISPEED(3C)          Standard C Library Functions          CFGETISPEED(3C)
   2    2  
   3      -
   4      -
   5    3  NAME
   6      -       cfgetispeed, cfgetospeed - get input and output baud rate
        4 +     cfgetispeed, cfgetospeed - get input and output baud rate
   7    5  
   8    6  SYNOPSIS
   9      -       #include <termios.h>
        7 +     #include <termios.h>
  10    8  
  11      -       speed_t cfgetispeed(const struct termios *termios_p);
        9 +     speed_t
       10 +     cfgetispeed(const struct termios *termios_p);
  12   11  
       12 +     speed_t
       13 +     cfgetospeed(const struct termios *termios_p);
  13   14  
  14      -       speed_t cfgetospeed(const struct termios *termios_p);
  15      -
  16      -
  17   15  DESCRIPTION
  18      -       The cfgetispeed() function extracts the input baud rate from the
  19      -       termios structure to which the termios_p argument points.
       16 +     The cfgetispeed() function extracts the input baud rate from the termios
       17 +     structure to which the termios_p argument points.
  20   18  
       19 +     The cfgetospeed() function extracts the output baud rate from the termios
       20 +     structure to which the termios_p argument points.
  21   21  
  22      -       The cfgetospeed() function extracts the output baud rate from the
  23      -       termios structure to which the termios_p argument points.
       22 +     These functions return exactly the value in the termios data structure,
       23 +     without interpretation.
  24   24  
  25      -
  26      -       These functions returns exactly the value in the termios data
  27      -       structure, without interpretation.
  28      -
  29   25  RETURN VALUES
  30      -       Upon successful completion, cfgetispeed() returns a value of type
  31      -       speed_t representing the input baud rate.
       26 +     Upon successful completion, cfgetispeed() returns a value of type speed_t
       27 +     representing the input baud rate.
  32   28  
       29 +     Upon successful completion, cfgetospeed() returns a value of type speed_t
       30 +     representing the output baud rate.
  33   31  
  34      -       Upon successful completion, cfgetospeed() returns a value of type
  35      -       speed_t representing the output baud rate.
  36      -
  37   32  ERRORS
  38      -       No errors are defined.
       33 +     No errors are defined.
  39   34  
  40      -ATTRIBUTES
  41      -       See attributes(5) for descriptions of the following attributes:
       35 +INTERFACE STABILITY
       36 +     Standard
  42   37  
       38 +MT-LEVEL
       39 +     MT-Safe
  43   40  
       41 +     Async-Signal-Safe
  44   42  
  45      -
  46      -       +--------------------+--------------------------------+
  47      -       |  ATTRIBUTE TYPE    |        ATTRIBUTE VALUE         |
  48      -       +--------------------+--------------------------------+
  49      -       |Interface Stability | Standard                       |
  50      -       +--------------------+--------------------------------+
  51      -       |MT-Level            | MT-Safe, and Async-Signal-Safe |
  52      -       +--------------------+--------------------------------+
  53      -
  54   43  SEE ALSO
  55      -       cfgetospeed(3C), tcgetattr(3C), attributes(5), standards(5), termio(7I)
       44 +     cfsetispeed(3C), tcgetattr(3C), attributes(5), standards(5), termio(7I)
  56   45  
  57      -
  58      -
  59      -                                 July 24, 2002                 CFGETISPEED(3C)
       46 +illumos                        January 20, 2019                        illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX