summaryrefslogtreecommitdiffstats
path: root/lib/libutil/pty.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-01-01 08:27:41 +0000
committerpeter <peter@FreeBSD.org>1996-01-01 08:27:41 +0000
commit42bbbd28614c699542553f24fb84264a5130e8e7 (patch)
treeaac25102c388712f99b4b8c8c49d800d87028e5a /lib/libutil/pty.c
parentcaa7284440e2e3d7c0e61a6365754b0094120761 (diff)
downloadFreeBSD-src-42bbbd28614c699542553f24fb84264a5130e8e7.zip
FreeBSD-src-42bbbd28614c699542553f24fb84264a5130e8e7.tar.gz
Bump libutil revision after recent addition of setproctitle().
Install (optional) libutil.h with prototypes for the functions and document this in the man page. minor cleanups to the various routines, include the prototype file, declare return codes etc.
Diffstat (limited to 'lib/libutil/pty.c')
-rw-r--r--lib/libutil/pty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c
index 5aecbfb..515ff9e 100644
--- a/lib/libutil/pty.c
+++ b/lib/libutil/pty.c
@@ -47,7 +47,9 @@ static char sccsid[] = "@(#)pty.c 8.3 (Berkeley) 5/16/94";
#include <string.h>
#include <termios.h>
#include <unistd.h>
+#include <libutil.h>
+int
openpty(amaster, aslave, name, termp, winp)
int *amaster, *aslave;
char *name;
OpenPOWER on IntegriCloud