.TH SWAB 3 .SH NAME swab \- swap bytes .SH SYNOPSIS .B swab(from, to, nbytes) .br .B short *from, *to; .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 PDP-11s and other machines. .I Nbytes should be even.