summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/byteorder.3
diff options
context:
space:
mode:
authoraaron <>2000-04-18 03:01:33 +0000
committeraaron <>2000-04-18 03:01:33 +0000
commit6e79b911ce0057b5b91d0f9cedd766e0163fb043 (patch)
tree9478c878ca3f3846100f116eeb1bed16f321f335 /src/lib/libc/net/byteorder.3
parent59ca3f5f8991ab72904434fb49ef0999d64ae2e8 (diff)
downloadopenbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.tar.gz
openbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.tar.bz2
openbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.zip
Repairs, mostly removing hard sentence breaks.
Diffstat (limited to 'src/lib/libc/net/byteorder.3')
-rw-r--r--src/lib/libc/net/byteorder.315
1 files changed, 9 insertions, 6 deletions
diff --git a/src/lib/libc/net/byteorder.3 b/src/lib/libc/net/byteorder.3
index 64a13d47ba..9d8fa7221f 100644
--- a/src/lib/libc/net/byteorder.3
+++ b/src/lib/libc/net/byteorder.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: byteorder.3,v 1.7 1999/07/05 04:40:59 aaron Exp $ 1.\" $OpenBSD: byteorder.3,v 1.8 2000/04/18 03:01:30 aaron 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.
@@ -83,7 +83,8 @@
83.Fn swap16 "u_int16_t val16" 83.Fn swap16 "u_int16_t val16"
84.Sh DESCRIPTION 84.Sh DESCRIPTION
85These routines convert 16- and 32-bit quantities between different 85These routines convert 16- and 32-bit quantities between different
86byte orderings. The 86byte orderings.
87The
87.Dq swap 88.Dq swap
88functions reverse the byte ordering of 89functions reverse the byte ordering of
89the given quantity, the others converts either from/to the native 90the given quantity, the others converts either from/to the native
@@ -127,7 +128,8 @@ The swap functions are of the form: swap{size}.
127Names involving 128Names involving
128.Sq n 129.Sq n
129convert quantities between network 130convert quantities between network
130byte order and host byte order. The last letter 131byte order and host byte order.
132The last letter
131.Pf ( Sq s 133.Pf ( Sq s
132or 134or
133.Sq l ) 135.Sq l )
@@ -136,7 +138,8 @@ for the traditional names for such quantities,
136.Li short 138.Li short
137and 139and
138.Li long , 140.Li long ,
139respectively. Today, the C concept of 141respectively.
142Today, the C concept of
140.Li short 143.Li short
141and 144and
142.Li long 145.Li long
@@ -176,5 +179,5 @@ functions appeared in
176.Bx 4.2 . 179.Bx 4.2 .
177.Sh BUGS 180.Sh BUGS
178On the vax, alpha, i386, and so far mips, 181On the vax, alpha, i386, and so far mips,
179bytes are handled backwards from most everyone else in 182bytes are handled backwards from most everyone else in the world.
180the world. This is not expected to be fixed in the near future. 183This is not expected to be fixed in the near future.