Xinu7/man/man3/swab.3

Compare this file to the similar file:
Show the results in this format:

.TH SWAB 3 
.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
LSI 11's and other machines.
.I Nbytes
should be even.
.SH SEE ALSO
hs2net(3) hl2net(3), net2hl(3), net2hs(3)