IPnom Home • Manuals • FreeBSD

 FreeBSD Man Pages

Man Sections:Commands (1)System Calls (2)Library Functions (3)Device Drivers (4)File Formats (5)Miscellaneous (7)System Utilities (8)
Keyword Live Search (10 results max):
 Type in part of a command in the search box.
 


swab(3)

NAME

     swab -- swap adjacent bytes


LIBRARY

     Standard C Library (libc, -lc)


SYNOPSIS

     #include <string.h>

     void
     swab(const void * restrict src, void * restrict dst, size_t len);


DESCRIPTION

     The function swab() copies len bytes from the location referenced by src
     to the location referenced by dst, swapping adjacent bytes.

     The argument len must be an even number.


SEE ALSO

     bzero(3), memset(3)


HISTORY

     A swab() function appeared in Version 7 AT&T UNIX.

FreeBSD 5.4			 June 4, 1993			   FreeBSD 5.4

SPONSORED LINKS




Man(1) output converted with man2html , sed , awk