.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