Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SWAB(3)  —  Kubota Pacfic Computer Inc. (C Library Functions−BSD)

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 PDP-11’s and other machines.  nbytes should be even. 

September 02, 1992

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