summaryrefslogtreecommitdiffstats
path: root/lib/libutil/pty.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil/pty.3')
-rw-r--r--lib/libutil/pty.38
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libutil/pty.3 b/lib/libutil/pty.3
index e209fde..cb2e461 100644
--- a/lib/libutil/pty.3
+++ b/lib/libutil/pty.3
@@ -32,6 +32,8 @@
.Nm openpty ,
.Nm forkpty
.Nd auxiliary functions to obtain a pseudo-terminal
+.Sh LIBRARY
+.Lb libutil
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/ioctl.h>
@@ -41,12 +43,6 @@
.Fn openpty "int *amaster" "int *aslave" "char *name" "struct termios *termp" "struct winsize *winp"
.Ft int
.Fn forkpty "int *amaster" "char *name" "struct termios *termp" "struct winsize *winp"
-.Pp
-Link with
-.Va -lutil
-on the
-.Xr cc 1
-command line.
.Sh DESCRIPTION
The function
.Fn openpty
OpenPOWER on IntegriCloud