Module Name:    src
Committed By:   wiz
Date:           Thu Apr 28 16:34:01 UTC 2011

Modified Files:
        src/lib/libc/gen: getgrent.3

Log Message:
Sort sections and errors.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/gen/getgrent.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/getgrent.3
diff -u src/lib/libc/gen/getgrent.3:1.30 src/lib/libc/gen/getgrent.3:1.31
--- src/lib/libc/gen/getgrent.3:1.30	Mon Mar 22 19:30:53 2010
+++ src/lib/libc/gen/getgrent.3	Thu Apr 28 16:34:01 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: getgrent.3,v 1.30 2010/03/22 19:30:53 joerg Exp $
+.\"	$NetBSD: getgrent.3,v 1.31 2011/04/28 16:34:01 wiz Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -216,9 +216,19 @@
 and
 .Fn setgrent
 functions have no return value.
+.Sh FILES
+.Bl -tag -width /etc/group -compact
+.It Pa /etc/group
+group database file
+.El
+.Sh COMPATIBILITY
+The historic function
+.Fn setgrfile ,
+which allowed the specification of alternative group databases, has
+been deprecated and is no longer available.
 .Sh ERRORS
 The following error codes may be set in
-.Va errno 
+.Va errno
 for
 .Nm getgrent ,
 .Nm getgrent_r ,
@@ -229,10 +239,10 @@
 and
 .Nm setgroupent :
 .Bl -tag -width Er
-.It Bq Er EIO
-An I/O error has occurred.
 .It Bq Er EINTR
 A signal was caught during the database search.
+.It Bq Er EIO
+An I/O error has occurred.
 .It Bq Er EMFILE
 The limit on open files for this process has been reached.
 .It Bq Er ENFILE
@@ -240,7 +250,7 @@
 .El
 .Pp
 The following error code may be set in
-.Va errno 
+.Va errno
 for
 .Nm getgrent_r ,
 .Nm getgrnam_r ,
@@ -259,11 +269,6 @@
 Other
 .Dv errno
 values may be set depending on the specific database backends.
-.Sh FILES
-.Bl -tag -width /etc/group -compact
-.It Pa /etc/group
-group database file
-.El
 .Sh SEE ALSO
 .Xr getpwent 3 ,
 .Xr group 5 ,
@@ -313,11 +318,6 @@
 .Fn getgrnam_r
 appeared in
 .Nx 3.0 .
-.Sh COMPATIBILITY
-The historic function
-.Fn setgrfile ,
-which allowed the specification of alternative group databases, has
-been deprecated and is no longer available.
 .Sh BUGS
 The functions
 .Fn getgrent ,

Reply via email to