File:  [Research Unix] / researchv10dc / man / adm / man3 / swab.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH SWAB 3
.CT 2 data_man
.SH NAME
swab \(mi 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
machines with different byte orders.
.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.