File:  [CSRG BSD Unix] / 43BSDTahoe / man / man3 / swab.3
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

.\"	@(#)swab.3	6.1 (Berkeley) 5/15/85
.\"
.TH SWAB 3  "May 15, 1985"
.AT 3
.nf
.SH NAME
swab \- swap bytes
.SH SYNOPSIS
.nf
.B swab(from, to, nbytes)
.B char *from, *to;
.fi
.SH DESCRIPTION
.I Swab
copies
.I nbytes
bytes pointed to by
.I from
to the position pointed to by
.I to,
exchanging adjacent even and odd bytes.
It is useful for carrying binary data between
PDP11's and other machines.
.I Nbytes
should be even.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.