Reformat SYNOPSIS.

This commit is contained in:
Michael Kerrisk 2007-06-15 21:51:26 +00:00
parent d853fcb314
commit 04bb6cc0aa
1 changed files with 4 additions and 5 deletions

View File

@ -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.