summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderaadt <>1999-03-02 03:47:46 +0000
committerderaadt <>1999-03-02 03:47:46 +0000
commitbda4cfb886991a5cc8340971401ed57c83e9ab55 (patch)
tree68bcc842195aeeb44b1639db20bed5d88e8c2f63
parent2a942b8fa85b25e91c59f4636ca30de7d0227ae7 (diff)
downloadopenbsd-bda4cfb886991a5cc8340971401ed57c83e9ab55.tar.gz
openbsd-bda4cfb886991a5cc8340971401ed57c83e9ab55.tar.bz2
openbsd-bda4cfb886991a5cc8340971401ed57c83e9ab55.zip
getservbyport() takes a network byte order port #
-rw-r--r--src/lib/libc/net/getservent.34
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/getservent.3 b/src/lib/libc/net/getservent.3
index d1684c28c4..3bbcc38a6b 100644
--- a/src/lib/libc/net/getservent.3
+++ b/src/lib/libc/net/getservent.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getservent.3,v 1.3 1996/08/30 02:00:11 millert Exp $ 1.\" $OpenBSD: getservent.3,v 1.4 1999/03/02 03:47:46 deraadt 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.
@@ -117,7 +117,7 @@ functions
117sequentially search from the beginning 117sequentially search from the beginning
118of the file until a matching 118of the file until a matching
119protocol name or 119protocol name or
120port number is found, 120port number (specified in network byte order) is found,
121or until 121or until
122.Dv EOF 122.Dv EOF
123is encountered. 123is encountered.