diff options
Diffstat (limited to 'man3/setnetgrent.3')
-rw-r--r-- | man3/setnetgrent.3 | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/man3/setnetgrent.3 b/man3/setnetgrent.3 index 9238c7ac6..8cc779fa8 100644 --- a/man3/setnetgrent.3 +++ b/man3/setnetgrent.3 @@ -6,7 +6,7 @@ .\" based on glibc infopages .\" polished - aeb .\" -.TH setnetgrent 3 2023-02-05 "Linux man-pages 6.03" +.TH setnetgrent 3 2023-07-30 "Linux man-pages 6.05.01" .SH NAME setnetgrent, endnetgrent, getnetgrent, getnetgrent_r, innetgr \- handle network group entries @@ -34,22 +34,18 @@ Standard C library Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.ad l .PP -.nh -.BR setnetgrent (), -.BR endnetgrent (), -.BR getnetgrent (), -.BR getnetgrent_r (), -.BR innetgr (): -.hy +.BR \%setnetgrent (), +.BR \%endnetgrent (), +.BR \%getnetgrent (), +.BR \%getnetgrent_r (), +.BR \%innetgr (): .nf Since glibc 2.19: _DEFAULT_SOURCE glibc 2.19 and earlier: _BSD_SOURCE || _SVID_SOURCE .fi -.ad .SH DESCRIPTION The .I netgroup @@ -101,35 +97,43 @@ These functions return 1 on success and 0 for failure. .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 setnetgrent (), .BR getnetgrent_r (), .BR innetgr () T} Thread safety T{ +.na +.nh MT-Unsafe race:netgrent locale T} T{ +.na +.nh .BR endnetgrent () T} Thread safety T{ +.na +.nh MT-Unsafe race:netgrent T} T{ +.na +.nh .BR getnetgrent () T} Thread safety T{ +.na +.nh MT-Unsafe race:netgrent race:netgrentbuf locale T} .TE -.hy -.ad .sp 1 In the above table, .I netgrent @@ -144,8 +148,13 @@ or .BR endnetgrent () are used in parallel in different threads of a program, then data races could occur. +.SH VERSIONS +In the BSD implementation, +.BR setnetgrent () +returns void. .SH STANDARDS -These functions are not in POSIX.1, but +None. +.SH HISTORY .BR setnetgrent (), .BR endnetgrent (), .BR getnetgrent (), @@ -155,10 +164,6 @@ are available on most UNIX systems. .BR getnetgrent_r () is not widely available on other systems. .\" getnetgrent_r() is on Solaris 8 and AIX 5.1, but not the BSDs. -.SH NOTES -In the BSD implementation, -.BR setnetgrent () -returns void. .SH SEE ALSO .BR sethostent (3), .BR setprotoent (3), |