diff options
author | deraadt <> | 1999-03-02 03:47:46 +0000 |
---|---|---|
committer | deraadt <> | 1999-03-02 03:47:46 +0000 |
commit | bda4cfb886991a5cc8340971401ed57c83e9ab55 (patch) | |
tree | 68bcc842195aeeb44b1639db20bed5d88e8c2f63 | |
parent | 2a942b8fa85b25e91c59f4636ca30de7d0227ae7 (diff) | |
download | openbsd-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.3 | 4 |
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 | |||
117 | sequentially search from the beginning | 117 | sequentially search from the beginning |
118 | of the file until a matching | 118 | of the file until a matching |
119 | protocol name or | 119 | protocol name or |
120 | port number is found, | 120 | port number (specified in network byte order) is found, |
121 | or until | 121 | or until |
122 | .Dv EOF | 122 | .Dv EOF |
123 | is encountered. | 123 | is encountered. |