]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/getnetent_r.3
signal.7: Note async-signal-safe functions added by POSIX.1-2008 TC1
[thirdparty/man-pages.git] / man3 / getnetent_r.3
index 43b08b792be1b66b8591f8b5114f7f638ba6fb1b..006c26b20ce9bb5776c7495f3cd07d85da13ed7b 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright 2008, Linux Foundation, written by Michael Kerrisk
 .\"    <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -20,8 +21,9 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
-.TH GETNETENT_R 3  2010-09-10 "GNU" "Linux Programmer's Manual"
+.TH GETNETENT_R 3  2015-07-23 "GNU" "Linux Programmer's Manual"
 .SH NAME
 getnetent_r, getnetbyname_r, getnetbyaddr_r \- get
 network entry (reentrant)
@@ -113,7 +115,7 @@ is used to return the value that would be stored in the global variable
 by the nonreentrant versions of these functions.
 .\" getnetent.3 doesn't document any use of h_errno, but nevertheless
 .\" the nonreentrant functions no seem to set h_errno.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success, these functions return 0.
 On error, they return one of the positive error numbers listed in ERRORS.
 
@@ -136,10 +138,25 @@ is too small.
 Try again with a larger buffer
 (and increased
 .IR buflen ).
-.SH "CONFORMING TO"
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw17 lb lb
+l l l.
+Interface      Attribute       Value
+T{
+.BR getnetent_r (),
+.BR getnetbyname_r (),
+.BR getnetbyaddr_r ()
+T}     Thread safety   MT-Safe locale
+.TE
+
+.SH CONFORMING TO
 These functions are GNU extensions.
 Functions with similar names exist on some other systems,
 though typically with different calling signatures.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR getnetent (3),
 .BR networks (5)