summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
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"