summaryrefslogtreecommitdiffstats
path: root/man3/getgrnam.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/getgrnam.3')
-rw-r--r--man3/getgrnam.324
1 files changed, 16 insertions, 8 deletions
diff --git a/man3/getgrnam.3 b/man3/getgrnam.3
index c29e04f29..b79e15f86 100644
--- a/man3/getgrnam.3
+++ b/man3/getgrnam.3
@@ -11,7 +11,7 @@
.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
.\" Modified 2003-11-15 by aeb
.\"
-.TH getgrnam 3 2023-02-05 "Linux man-pages 6.03"
+.TH getgrnam 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
getgrnam, getgrnam_r, getgrgid, getgrgid_r \- get group file entry
.SH LIBRARY
@@ -195,34 +195,38 @@ local group database file
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lb lb lbx
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR getgrnam ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:grnam locale
T}
T{
+.na
+.nh
.BR getgrgid ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:grgid locale
T}
T{
+.na
+.nh
.BR getgrnam_r (),
.BR getgrgid_r ()
T} Thread safety MT-Safe locale
.TE
-.hy
-.ad
.sp 1
-.SH STANDARDS
-POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
-.SH NOTES
+.SH VERSIONS
The formulation given above under "RETURN VALUE" is from POSIX.1.
.\" POSIX.1-2001, POSIX.1-2008
It does not call "not found" an error, hence does not specify what value
@@ -244,6 +248,10 @@ situation: 0, ENOENT, EBADF, ESRCH, EWOULDBLOCK, EPERM, and probably others.
.\" FreeBSD 4.8, OpenBSD 3.2, NetBSD 1.6 - give EPERM
.\" SunOS 5.8 - gives EBADF
.\" Tru64 5.1b, HP-UX-11i, SunOS 5.7 - give 0
+.SH STANDARDS
+POSIX.1-2008.
+.SH HISTORY
+POSIX.1-2001, SVr4, 4.3BSD.
.SH SEE ALSO
.BR endgrent (3),
.BR fgetgrent (3),