mirror of https://github.com/mkerrisk/man-pages
Minor changes to SYNOPSIS.
This commit is contained in:
parent
412aac5f50
commit
cbaed691b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue