summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getnetent.3
diff options
context:
space:
mode:
authoraaron <>2000-04-18 03:01:33 +0000
committeraaron <>2000-04-18 03:01:33 +0000
commit6e79b911ce0057b5b91d0f9cedd766e0163fb043 (patch)
tree9478c878ca3f3846100f116eeb1bed16f321f335 /src/lib/libc/net/getnetent.3
parent59ca3f5f8991ab72904434fb49ef0999d64ae2e8 (diff)
downloadopenbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.tar.gz
openbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.tar.bz2
openbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.zip
Repairs, mostly removing hard sentence breaks.
Diffstat (limited to 'src/lib/libc/net/getnetent.3')
-rw-r--r--src/lib/libc/net/getnetent.315
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libc/net/getnetent.3 b/src/lib/libc/net/getnetent.3
index 05478afdfb..fba5505fec 100644
--- a/src/lib/libc/net/getnetent.3
+++ b/src/lib/libc/net/getnetent.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getnetent.3,v 1.8 1999/07/05 04:40:59 aaron Exp $ 1.\" $OpenBSD: getnetent.3,v 1.9 2000/04/18 03:01:31 aaron Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -84,8 +84,8 @@ A zero-terminated list of alternate names for the network.
84The type of the network number returned; currently only 84The type of the network number returned; currently only
85.Dv AF_INET . 85.Dv AF_INET .
86.It Fa n_net 86.It Fa n_net
87The network number. Network numbers are returned in machine byte 87The network number.
88order. 88Network numbers are returned in machine byte order.
89.El 89.El
90.Pp 90.Pp
91The 91The
@@ -96,7 +96,8 @@ reads the next line of the file, opening the file if necessary.
96The 96The
97.Fn setnetent 97.Fn setnetent
98function 98function
99opens and rewinds the file. If the 99opens and rewinds the file.
100If the
100.Fa stayopen 101.Fa stayopen
101flag is non-zero, 102flag is non-zero,
102the net data base will not be closed after each call to 103the net data base will not be closed after each call to
@@ -146,6 +147,6 @@ functions appeared in
146.Sh BUGS 147.Sh BUGS
147The data space used by these functions is static; if future use 148The data space used by these functions is static; if future use
148requires the data, it should be copied before any subsequent calls 149requires the data, it should be copied before any subsequent calls
149to these functions overwrite it. Only Internet network numbers 150to these functions overwrite it.
150are currently understood. Expecting network numbers to fit in no 151Only Internet network numbers are currently understood.
151more than 32 bits is naive. 152Expecting network numbers to fit in no more than 32 bits is naive.