summaryrefslogtreecommitdiffstats
path: root/man3/getnetent.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/getnetent.3')
-rw-r--r--man3/getnetent.328
1 files changed, 21 insertions, 7 deletions
diff --git a/man3/getnetent.3 b/man3/getnetent.3
index e553b87f4..9a584583e 100644
--- a/man3/getnetent.3
+++ b/man3/getnetent.3
@@ -8,7 +8,7 @@
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\" 386BSD man pages
.\" Modified Sat Jul 24 21:48:06 1993 by Rik Faith (faith@cs.unc.edu)
-.TH getnetent 3 2022-12-15 "Linux man-pages 6.03"
+.TH getnetent 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
getnetent, getnetbyname, getnetbyaddr, setnetent, endnetent \-
get network entry
@@ -127,41 +127,53 @@ networks 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 getnetent ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:netent
race:netentbuf env locale
T}
T{
+.na
+.nh
.BR getnetbyname ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:netbyname
env locale
T}
T{
+.na
+.nh
.BR getnetbyaddr ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:netbyaddr
locale
T}
T{
+.na
+.nh
.BR setnetent (),
.BR endnetent ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:netent env
locale
T}
.TE
-.hy
-.ad
.sp 1
In the above table,
.I netent
@@ -175,8 +187,10 @@ or
are used in parallel in different threads of a program,
then data races could occur.
.SH STANDARDS
-POSIX.1-2001, POSIX.1-2008, 4.3BSD.
-.SH NOTES
+POSIX.1-2008.
+.SH HISTORY
+POSIX.1-2001, 4.3BSD.
+.PP
Before glibc 2.2, the
.I net
argument of