diff options
Diffstat (limited to 'lib/libc/net/getnetent.3')
-rw-r--r-- | lib/libc/net/getnetent.3 | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3 index 05478afdfbb..fba5505fec0 100644 --- a/lib/libc/net/getnetent.3 +++ b/lib/libc/net/getnetent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getnetent.3,v 1.8 1999/07/05 04:40:59 aaron Exp $ +.\" $OpenBSD: getnetent.3,v 1.9 2000/04/18 03:01:31 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -84,8 +84,8 @@ A zero-terminated list of alternate names for the network. The type of the network number returned; currently only .Dv AF_INET . .It Fa n_net -The network number. Network numbers are returned in machine byte -order. +The network number. +Network numbers are returned in machine byte order. .El .Pp The @@ -96,7 +96,8 @@ reads the next line of the file, opening the file if necessary. The .Fn setnetent function -opens and rewinds the file. If the +opens and rewinds the file. +If the .Fa stayopen flag is non-zero, the net data base will not be closed after each call to @@ -146,6 +147,6 @@ functions appeared in .Sh BUGS The data space used by these functions is static; if future use requires the data, it should be copied before any subsequent calls -to these functions overwrite it. Only Internet network numbers -are currently understood. Expecting network numbers to fit in no -more than 32 bits is naive. +to these functions overwrite it. +Only Internet network numbers are currently understood. +Expecting network numbers to fit in no more than 32 bits is naive. |