mirror of https://github.com/mkerrisk/man-pages
Reformat SYNOPSIS.
This commit is contained in:
parent
d853fcb314
commit
04bb6cc0aa
|
@ -44,15 +44,15 @@ termios, tcgetattr, tcsetattr, tcsendbreak, tcdrain, tcflush, tcflow,
|
|||
cfmakeraw, cfgetospeed, cfgetispeed, cfsetispeed, cfsetospeed, cfsetspeed \-
|
||||
get and set terminal attributes, line control, get and set baud rate
|
||||
.SH SYNOPSIS
|
||||
.ad l
|
||||
.ft B
|
||||
.nf
|
||||
#include <termios.h>
|
||||
.br
|
||||
#include <unistd.h>
|
||||
.sp
|
||||
.BI "int tcgetattr(int " fd ", struct termios *" termios_p );
|
||||
.sp
|
||||
.BI "int tcsetattr(int " fd ", int " optional_actions ", const struct termios *" termios_p );
|
||||
.BI "int tcsetattr(int " fd ", int " optional_actions ,
|
||||
.BI " const struct termios *" termios_p );
|
||||
.sp
|
||||
.BI "int tcsendbreak(int " fd ", int " duration );
|
||||
.sp
|
||||
|
@ -71,8 +71,7 @@ get and set terminal attributes, line control, get and set baud rate
|
|||
.BI "int cfsetispeed(struct termios *" termios_p ", speed_t " speed );
|
||||
.sp
|
||||
.BI "int cfsetospeed(struct termios *" termios_p ", speed_t " speed );
|
||||
.ft P
|
||||
.ad b
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The termios functions describe a general terminal interface that is
|
||||
provided to control asynchronous communications ports.
|
||||
|
|
Loading…
Reference in New Issue