From c247f09379914a9fa8d9a4c6ee14391536409411 Mon Sep 17 00:00:00 2001 From: downsj Date: Sat, 7 Sep 1996 10:41:41 +0000 Subject: [PATCH] openpty() returns int. --- lib/libutil/openpty.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -.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" -- 2.20.1