Copyright (c) 1990 The Regents of the University of California.
All rights reserved.
%sccs.include.redist.man%
@(#)swab.3 6.3 (Berkeley) 05/17/90
All rights reserved.
%sccs.include.redist.man%
@(#)swab.3 6.3 (Berkeley) 05/17/90
SWAB 3 ""
.AT 3
NAMEswab - swap bytesSYNOPSIS#include <string.h> void swab(const char *src, char *dst, size_t len);DESCRIPTIONThe function swab copies len bytes from the location referenced by src to the location referenced by dst , swapping adjacent bytes.Len should be even.
SEE ALSObzero(3), memset(3)