summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-09-07 10:41:42 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-09-07 10:41:42 +0000
commite9e6d981672a0bf60e0a27c00372c217263cc52e (patch)
tree90f12aebc5ef896b4557dc97a830521858d57724 /lib/libutil
parentac6d683bf87d4a167a4aae93d8b7405e592efaff (diff)
openpty() returns int.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/openpty.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libutil/openpty.3 b/lib/libutil/openpty.3
index 0e553261247..7733e0302ba 100644
--- a/lib/libutil/openpty.3
+++ b/lib/libutil/openpty.3
@@ -1,3 +1,4 @@
+.\" $OpenBSD: openpty.3,v 1.2 1996/09/07 10:41:41 downsj Exp $
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -43,7 +44,7 @@
.Nd tty utility functions
.Sh SYNOPSIS
.Fd #include <util.h>
-.Ft void
+.Ft int
.Fn openpty "int *amaster" "int *aslave" "char *name" "struct termios *termp" "struct winsize *winp"
.Ft int
.Fn login_tty "int fd"