Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/net Xref bswap(3). Simplify STANDARDS.
details: https://anonhg.NetBSD.org/src/rev/cea46e7bb565
branches: trunk
changeset: 764753:cea46e7bb565
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue May 03 04:07:39 2011 +0000
description:
Xref bswap(3). Simplify STANDARDS.
diffstat:
lib/libc/net/byteorder.3 | 19 ++++---------------
1 files changed, 4 insertions(+), 15 deletions(-)
diffs (44 lines):
diff -r 6471d0493a52 -r cea46e7bb565 lib/libc/net/byteorder.3
--- a/lib/libc/net/byteorder.3 Mon May 02 23:42:10 2011 +0000
+++ b/lib/libc/net/byteorder.3 Tue May 03 04:07:39 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: byteorder.3,v 1.14 2006/02/04 22:47:28 uwe Exp $
+.\" $NetBSD: byteorder.3,v 1.15 2011/05/03 04:07:39 jruoho Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)byteorder.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd June 10, 2004
+.Dd May 3, 2011
.Dt BYTEORDER 3
.Os
.Sh NAME
@@ -64,23 +64,12 @@
and
.Xr getservent 3 .
.Sh SEE ALSO
+.Xr bswap 3 ,
.Xr gethostbyname 3 ,
.Xr getservent 3
.Sh STANDARDS
-The
-.Fn htonl ,
-.Fn htons ,
-.Fn ntohl ,
-and
-.Fn ntohs
-functions conform to
+The described functions conform to
.St -p1003.1-2001 .
-Their use of the fixed-width integer types
-.Fa uint16_t
-and
-.Fa uint32_t
-first appeared in
-.St -xns5 .
.Sh HISTORY
The
.Nm byteorder
Home |
Main Index |
Thread Index |
Old Index