summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-06-05 19:44:17 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-06-05 19:44:17 +0000
commit50ab8c4e17aca2fa703b104a9fdb5824f13223a0 (patch)
tree0b5848f1f38452a5931dfe72313dd137007a1844 /lib/libc
parent1bf4d6b83128436e7ba7e53aa0fc74506f152536 (diff)
sort sections;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getservent.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3
index 2a442d276d7..aa24aab13ac 100644
--- a/lib/libc/net/getservent.3
+++ b/lib/libc/net/getservent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getservent.3,v 1.17 2005/06/05 19:40:21 jmc Exp $
+.\" $OpenBSD: getservent.3,v 1.18 2005/06/05 19:44:16 jmc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -149,10 +149,6 @@ functions
also take a pointer to a
.Fa servent
structure which is used to store the results of the database lookup.
-.Sh FILES
-.Bl -tag -width /etc/services -compact
-.It Pa /etc/services
-.El
.Sh RETURN VALUES
The
.Fn getservent ,
@@ -171,6 +167,10 @@ and
.Fn getservbyname_r
functions return 0 on success or \-1 if end-of-file
is reached or an error occurs.
+.Sh FILES
+.Bl -tag -width /etc/services -compact
+.It Pa /etc/services
+.El
.Sh SEE ALSO
.Xr getprotoent 3 ,
.Xr services 5