*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> swab (3)              



NAME    [Toc]    [Back]

     swab -- swap adjacent bytes

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <string.h>

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     bzero(3), memset(3)

HISTORY    [Toc]    [Back]

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

FreeBSD 5.2.1			 June 4, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
swab Tru64 Swap bytes
swab IRIX swap bytes
lrange IRIX Return one or more adjacent elements from a list
swapctl IRIX manage swap space
removeSwap IRIX removes the indicated swap element
uscas IRIX compare and swap operator
swapctl OpenBSD modify swap configuration
swap IRIX swap administrative interface
swapctl NetBSD modify swap configuration
mkswap Linux set up a Linux swap area
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service