Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swab(3C) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bstring(3c)



SWAB(3C)                COMMAND REFERENCE                SWAB(3C)



NAME
     swab - swap bytes

SYNOPSIS
     swab(from, to, nbytes)
     char *from, *to;

DESCRIPTION
     Swab copies nbytes bytes pointed to by from to the position
     pointed to by to, exchanging adjacent even and odd bytes.
     It is useful for carrying binary data between PDP11's and
     other machines.  Nbytes should be even.

SEE ALSO
     bstring(3c).








































Printed 10/17/86                                                1





































































%%index%%
na:72,53;
sy:125,312;
de:437,375;
se:812,124;
%%index%%000000000079

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026