summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormillert <>2014-09-04 13:51:54 +0000
committermillert <>2014-09-04 13:51:54 +0000
commit620b0c428295995017c04f2dfbb4d70cb01a3701 (patch)
treea7069fe29a86fe02042b05c3fea4ce470c732a4f
parenta7ac30e7ed8aea1757edfca3d7d31bbca2d3e006 (diff)
downloadopenbsd-620b0c428295995017c04f2dfbb4d70cb01a3701.tar.gz
openbsd-620b0c428295995017c04f2dfbb4d70cb01a3701.tar.bz2
openbsd-620b0c428295995017c04f2dfbb4d70cb01a3701.zip
POSIX specifies arpa/inet.h as the include file for these.
OK aja@ mikeb@
-rw-r--r--src/lib/libc/net/htonl.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/htonl.3 b/src/lib/libc/net/htonl.3
index 085fb0271f..e32ca717b1 100644
--- a/src/lib/libc/net/htonl.3
+++ b/src/lib/libc/net/htonl.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: htonl.3,v 1.2 2014/07/13 20:42:33 jmc Exp $ 1.\" $OpenBSD: htonl.3,v 1.3 2014/09/04 13:51:54 millert 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.
@@ -27,7 +27,7 @@
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.Dd $Mdocdate: July 13 2014 $ 30.Dd $Mdocdate: September 4 2014 $
31.Dt HTONL 3 31.Dt HTONL 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -37,7 +37,7 @@
37.Nm ntohs 37.Nm ntohs
38.Nd convert values between host and network byte orderings 38.Nd convert values between host and network byte orderings
39.Sh SYNOPSIS 39.Sh SYNOPSIS
40.In netinet/in.h 40.In arpa/inet.h
41.Ft uint32_t 41.Ft uint32_t
42.Fn htonl "uint32_t host32" 42.Fn htonl "uint32_t host32"
43.Ft uint16_t 43.Ft uint16_t