]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/getnetent.3
err.3: EXAMPLES: use EXIT_FAILURE rather than 1 as exit status
[thirdparty/man-pages.git] / man3 / getnetent.3
index 8231818111aaec08b592e0fd93a225c485a3c4a0..ad4ea679e328764bedc310017b0fb7c76803722b 100644 (file)
@@ -27,7 +27,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  2016-10-08 "GNU" "Linux Programmer's Manual"
+.TH GETNETENT 3  2017-09-15 "GNU" "Linux Programmer's Manual"
 .SH NAME
 getnetent, getnetbyname, getnetbyaddr, setnetent, endnetent \-
 get network entry
@@ -99,16 +99,16 @@ The
 structure is defined in
 .I <netdb.h>
 as follows:
-.sp
+.PP
 .in +4n
-.nf
+.EX
 struct netent {
     char      *n_name;     /* official network name */
     char     **n_aliases;  /* alias list */
     int        n_addrtype; /* net address type */
     uint32_t   n_net;      /* network number */
 }
-.fi
+.EE
 .in
 .PP
 The members of the
@@ -181,7 +181,7 @@ MT-Unsafe race:netent env
 locale
 T}
 .TE
-
+.sp 1
 In the above table,
 .I netent
 in