Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swab(3) — GENIX 4.1A

Media Vault

Software Library

Restoration Projects

Artifacts Sought



      SWAB(3)                 GENIX Programmer's Manual                 SWAB(3)



      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.











































      Printed 11/16/83                                                        1



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