diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2003-09-21 18:11:28 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2003-09-21 18:11:28 +0000 |
commit | 5e92f8fbdbb74581c4731f6e7e61a9a51d7add8c (patch) | |
tree | accf7bb981f1df07dd9551bf223b851ee1c2e284 /lib/libc | |
parent | 8ed1c28a17270176f6121323b0fc94992ad41545 (diff) |
revert for now.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/byteorder.3 | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/lib/libc/net/byteorder.3 b/lib/libc/net/byteorder.3 index 3bb154b08ad..e3b7972160f 100644 --- a/lib/libc/net/byteorder.3 +++ b/lib/libc/net/byteorder.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: byteorder.3,v 1.10 2003/09/21 10:50:15 fgsch Exp $ +.\" $OpenBSD: byteorder.3,v 1.11 2003/09/21 18:11:27 fgsch Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -35,19 +35,14 @@ .Nm htons , .Nm ntohl , .Nm ntohs , -.Nm htobe64 , .Nm htobe32 , .Nm htobe16 , -.Nm betoh64 , .Nm betoh32 , .Nm betoh16 , -.Nm htole64 , .Nm htole32 , .Nm htole16 , -.Nm letoh64 , .Nm letoh32 , .Nm letoh16 , -.Nm swap64 , .Nm swap32 , .Nm swap16 .Nd convert values between different byte orderings @@ -62,38 +57,28 @@ .Fn ntohl "u_int32_t net32" .Ft u_int16_t .Fn ntohs "u_int16_t net16" -.Ft u_int64_t -.Fn htobe64 "u_int64_t host64" .Ft u_int32_t .Fn htobe32 "u_int32_t host32" .Ft u_int16_t .Fn htobe16 "u_int16_t host16" -.Ft u_int64_t -.Fn betoh64 "u_int64_t big64" .Ft u_int32_t .Fn betoh32 "u_int32_t big32" .Ft u_int16_t .Fn betoh16 "u_int16_t big16" -.Ft u_int64_t -.Fn htole64 "u_int64_t host64" .Ft u_int32_t .Fn htole32 "u_int32_t host32" .Ft u_int16_t .Fn htole16 "u_int16_t host16" -.Ft u_int64_t -.Fn letoh64 "u_int64_t little64" .Ft u_int32_t .Fn letoh32 "u_int32_t little32" .Ft u_int16_t .Fn letoh16 "u_int16_t little16" -.Ft u_int64_t -.Fn swap64 "u_int32_t val64" .Ft u_int32_t .Fn swap32 "u_int32_t val32" .Ft u_int16_t .Fn swap16 "u_int16_t val16" .Sh DESCRIPTION -These routines convert 16, 32 and 64-bit quantities between different +These routines convert 16- and 32-bit quantities between different byte orderings. The .Dq swap @@ -132,8 +117,6 @@ Short (16-bit, used in conjunction with forms involving 16-bit. .It 32 32-bit. -.It 64 -64-bit. .El .Pp The swap functions are of the form: swap{size}. @@ -166,7 +149,7 @@ The functions involving either or .Dq swap use the numbers -16, 32 and 64 for specifying the bitwidth of the quantities they operate on. +16 and 32 for specifying the bitwidth of the quantities they operate on. Currently all supported architectures are either big- or little-endian so either the .Dq be |