Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swab.bsd(3) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SWAB(3)

NAME

swab − swap bytes

USAGE

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

DESCRIPTION

Swab copies nbytes bytes from a place pointed to by from to the position specified by to, exchanging adjacent even and odd bytes. It is useful when moving binary data among various machines.

NOTES

Nbytes should be even. 

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