From aefaf0e37854f1fbb00a6408c1e85a694e50fb63 Mon Sep 17 00:00:00 2001 From: downsj <> Date: Sat, 7 Sep 1996 10:41:41 +0000 Subject: [PATCH] openpty() returns int. --- src/lib/libutil/openpty.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/libutil/openpty.3 b/src/lib/libutil/openpty.3 index 0e553261..7733e030 100644 --- a/src/lib/libutil/openpty.3 +++ b/src/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 -.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"