4.3BSD-Tahoe/usr/man/cat3/swab.0

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




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



NNAAMMEE
     swab - swap bytes

SSYYNNOOPPSSIISS
     sswwaabb((ffrroomm,, ttoo,, nnbbyytteess))
     cchhaarr **ffrroomm,, **ttoo;;

DDEESSCCRRIIPPTTIIOONN
     _S_w_a_b copies _n_b_y_t_e_s bytes pointed to by _f_r_o_m to the position
     pointed to by _t_o, exchanging adjacent even and odd bytes.
     It is useful for carrying binary data between PDP11's and
     other machines.  _N_b_y_t_e_s should be even.











































Printed 7/9/88		  May 15, 1985				1