Annotated edit history of
swab(3) version 1, including all changes.
View license author blame.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
SWAB |
| |
|
2 |
!!!SWAB |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
RETURN VALUE |
| |
|
7 |
CONFORMING TO |
| |
|
8 |
SEE ALSO |
| |
|
9 |
---- |
| |
|
10 |
!!NAME |
| |
|
11 |
|
| |
|
12 |
|
| |
|
13 |
swab - swap adjacent bytes |
| |
|
14 |
!!SYNOPSIS |
| |
|
15 |
|
| |
|
16 |
|
| |
|
17 |
__#include |
| |
|
18 |
__''from''__, void *__''to''__, size_t__ ''n''__); |
| |
|
19 |
__ |
| |
|
20 |
!!DESCRIPTION |
| |
|
21 |
|
| |
|
22 |
|
| |
|
23 |
The __swab()__ function copies ''n'' bytes from the |
| |
|
24 |
array pointed to by ''from'' to the array pointed to by |
| |
|
25 |
''to'', exchanging adjacent even and odd bytes. This |
| |
|
26 |
function is used to exchange data between machines that have |
| |
|
27 |
different low/high byte ordering. |
| |
|
28 |
!!RETURN VALUE |
| |
|
29 |
|
| |
|
30 |
|
| |
|
31 |
The __swab()__ function returns no value. |
| |
|
32 |
!!CONFORMING TO |
| |
|
33 |
|
| |
|
34 |
|
| |
|
35 |
SVID 3, BSD 4.3 |
| |
|
36 |
!!SEE ALSO |
| |
|
37 |
|
| |
|
38 |
|
| |
|
39 |
bstring(3) |
| |
|
40 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.