]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/getnetent_r.3
CPU_SET.3, INFINITY.3, __ppc_get_timebase.3, __ppc_set_ppr_med.3, __ppc_yield.3,...
[thirdparty/man-pages.git] / man3 / getnetent_r.3
index 9bb26c457df92eb38b049e4347fa528671bee2de..9ccb44ef23067c396dcafabdc68c6ae17780675e 100644 (file)
@@ -77,13 +77,13 @@ structure is returned,
 and in the function calling signature and return value.
 This manual page describes just the differences from
 the nonreentrant functions.
-
+.PP
 Instead of returning a pointer to a statically allocated
 .I netent
 structure as the function result,
 these functions copy the structure into the location pointed to by
 .IR result_buf .
-
+.PP
 The
 .I buf
 array is used to store the string fields pointed to by the returned
@@ -100,7 +100,7 @@ and the caller must try again with a larger buffer.
 (A buffer of length 1024 bytes should be sufficient for most applications.)
 .\" I can find no information on the required/recommended buffer size;
 .\" the nonreentrant functions use a 1024 byte buffer -- mtk.
-
+.PP
 If the function call successfully obtains a network record, then
 .I *result
 is set pointing to
@@ -108,7 +108,7 @@ is set pointing to
 otherwise,
 .I *result
 is set to NULL.
-
+.PP
 The buffer pointed to by
 .I h_errnop
 is used to return the value that would be stored in the global variable
@@ -119,7 +119,7 @@ by the nonreentrant versions of these functions.
 .SH RETURN VALUE
 On success, these functions return 0.
 On error, they return one of the positive error numbers listed in ERRORS.
-
+.PP
 On error, record not found
 .RB ( getnetbyname_r (),
 .BR getnetbyaddr_r ()),