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

  man pages->OpenBSD man pages -> swab (3)              
Title
Content
Arch
Section
 

SWAB(3)

Contents


NAME    [Toc]    [Back]

     swab - swap adjacent bytes

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     void
     swab(const void *src, void *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.

OpenBSD      3.6                            May      1,      1991
[ 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