Minor changes to SYNOPSIS.

This commit is contained in:
Michael Kerrisk 2007-06-13 22:20:51 +00:00
parent 412aac5f50
commit cbaed691b0
1 changed files with 4 additions and 6 deletions

View File

@ -35,19 +35,17 @@ openpty, login_tty, forkpty \- tty utility functions
.SH SYNOPSIS
.nf
.B #include <pty.h>
\ /* for openpty and forkpty */
.br
.B #include <utmp.h>
/* for login_tty */
.sp
.BI "int openpty(int *" amaster ", int *" aslave ", char *" name ,
.BI " struct termios *" termp ", struct winsize *" winp );
.sp
.BI "int login_tty(int " fd );
.sp
.BI "pid_t forkpty(int *" amaster ", char *" name ", struct termios *" termp ,
.BI " struct winsize *" winp );
.sp
.B #include <utmp.h>
.sp
.BI "int login_tty(int " fd );
.sp
Link with \fI\-lutil\fP.
.fi
.SH DESCRIPTION