Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Correct order of description of getgr{nam, gid}{...



details:   https://anonhg.NetBSD.org/src/rev/3a47c284f09d
branches:  trunk
changeset: 570341:3a47c284f09d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Oct 05 03:03:24 2004 +0000

description:
Correct order of description of getgr{nam,gid}{,_r}() functions.

diffstat:

 lib/libc/gen/getgrent.3 |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (53 lines):

diff -r d644be33f3c3 -r 3a47c284f09d lib/libc/gen/getgrent.3
--- a/lib/libc/gen/getgrent.3   Tue Oct 05 02:17:21 2004 +0000
+++ b/lib/libc/gen/getgrent.3   Tue Oct 05 03:03:24 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getgrent.3,v 1.21 2004/10/04 04:11:33 lukem Exp $
+.\"    $NetBSD: getgrent.3,v 1.22 2004/10/05 03:03:24 lukem Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)getgrent.3 8.2 (Berkeley) 4/19/94
 .\"
-.Dd October 3, 2004
+.Dd October 5, 2004
 .Dt GETGRENT 3
 .Os
 .Sh NAME
@@ -95,20 +95,20 @@
 .Ed
 .Pp
 The functions
-.Fn getgrgid
+.Fn getgrnam
 and
-.Fn getgrnam
+.Fn getgrgid
 search the group database for the given group name pointed to by
 .Ar name
 or the group id pointed to by
 .Ar gid ,
 respectively, returning the first one encountered.
-Identical group names or group gids may result in undefined behavior.
+Identical group names or group ids may result in undefined behavior.
 .Pp
 The functions
-.Fn getgrgid_r
+.Fn getgrnam_r
 and
-.Fn getgrnam_r
+.Fn getgrgid_r
 search the group database for the given group name pointed to by
 .Ar name
 or the group id pointed to by
@@ -129,7 +129,7 @@
 an error number will be returned and
 .Ar result
 will point to null.
-Identical group names or group gids may result in undefined behavior.
+Identical group names or group ids may result in undefined behavior.
 .Pp
 The
 .Fn getgrent



Home | Main Index | Thread Index | Old Index