1SWAB(3)                    Library Functions Manual                    SWAB(3)
2
3
4

NAME

6       swab - swap bytes
7

SYNOPSIS

9       swab(from, to, nbytes)
10       char *from, *to;
11

DESCRIPTION

13       Swab  copies nbytes bytes pointed to by from to the position pointed to
14       by to, exchanging adjacent even and odd bytes.  It is useful for carry‐
15       ing  binary  data between PDP11's and other machines.  Nbytes should be
16       even.
17
18
19
20                                                                       SWAB(3)
Impressum