From d355352b084ee8b191106ece80fb253fbf1ba5b8 Mon Sep 17 00:00:00 2001 From: kleink Date: Tue, 1 Jun 2004 16:12:51 +0000 Subject: [PATCH] Don't refer to errno as "global integer variable". --- lib/libc/gen/closefrom.3 | 6 +++--- lib/libc/sys/close.2 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/closefrom.3 b/lib/libc/gen/closefrom.3 index 3f3f40535756..82368a094e01 100644 --- a/lib/libc/gen/closefrom.3 +++ b/lib/libc/gen/closefrom.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: closefrom.3,v 1.4 2004/06/01 16:06:43 kleink Exp $ +.\" $NetBSD: closefrom.3,v 1.5 2004/06/01 16:12:51 kleink Exp $ .\" $OpenBSD: closefrom.2,v 1.2 2004/01/12 20:52:09 jmc Exp $ .\" .\" Copyright (c) 2004 Ted Unangst. All rights reserved. @@ -23,7 +23,7 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.Dd January 11, 2004 +.Dd June 1, 2004 .Dt CLOSEFROM 3 .Os .Sh NAME @@ -44,7 +44,7 @@ It is effectively the same as calling on each descriptor. .Sh RETURN VALUES Upon successful completion, a value of 0 is returned. -Otherwise, a value of \-1 is returned and the global integer variable +Otherwise, a value of \-1 is returned and .Va errno is set to indicate the error. .Sh ERRORS diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2 index 205c0a2a00b9..6f89c576b78c 100644 --- a/lib/libc/sys/close.2 +++ b/lib/libc/sys/close.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: close.2,v 1.16 2004/05/13 10:20:57 wiz Exp $ +.\" $NetBSD: close.2,v 1.17 2004/06/01 16:14:10 kleink Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -103,7 +103,7 @@ restores the default, which is to not close descriptor .Dq Fa d . .Sh RETURN VALUES Upon successful completion, a value of 0 is returned. -Otherwise, a value of \-1 is returned and the global integer variable +Otherwise, a value of \-1 is returned and .Va errno is set to indicate the error. .Sh ERRORS