summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-05-11 23:22:54 +0000
committermike <mike@FreeBSD.org>2002-05-11 23:22:54 +0000
commit759ec3782f05659ec9470c0a7dedb9f9a56b590a (patch)
tree9b5c5067598fcd8bf48c70860edcb708823c93a9 /lib/libc/net
parentbd642e864551ee11977e0cc213ffea3d839bd8a9 (diff)
downloadFreeBSD-src-759ec3782f05659ec9470c0a7dedb9f9a56b590a.zip
FreeBSD-src-759ec3782f05659ec9470c0a7dedb9f9a56b590a.tar.gz
Document that <netinet/in.h> can also provide prototypes. Change
wording related to standards conformance.
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/byteorder.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/net/byteorder.3 b/lib/libc/net/byteorder.3
index 70f078a..21c105f 100644
--- a/lib/libc/net/byteorder.3
+++ b/lib/libc/net/byteorder.3
@@ -32,7 +32,7 @@
.\" @(#)byteorder.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd May 11, 2002
.Dt BYTEORDER 3
.Os
.Sh NAME
@@ -45,6 +45,10 @@
.Lb libc
.Sh SYNOPSIS
.In arpa/inet.h
+.Pp
+or
+.Pp
+.In netinet/in.h
.Ft uint32_t
.Fn htonl "uint32_t hostlong"
.Ft uint16_t
@@ -70,7 +74,7 @@ and
.Sh STANDARDS
The
.Nm byteorder
-functions are expected to conform with
+functions conform to
.St -p1003.1-2001 .
.Sh HISTORY
The
OpenPOWER on IntegriCloud