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

  man pages->IRIX man pages -> swab (3c)              


SWAB(3C)							      SWAB(3C)

NAME    [Toc]    [Back]

     swab - swap bytes

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     void swab(char *from, char	*to, int nbytes);

DESCRIPTION    [Toc]    [Back]

     swab copies nbytes	bytes pointed to by from to the	array pointed to by
     to, exchanging adjacent even and odd bytes.  Nbytes should	be even	and
     non-negative.  If nbytes is odd and positive swab uses nbytes-1 instead.
     If	nbytes is negative, swab does nothing.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
swab OpenBSD swap adjacent bytes
swab FreeBSD swap adjacent bytes
swab Linux swap adjacent bytes
swab NetBSD swap adjacent bytes
swapctl IRIX manage swap space
swapctl OpenBSD modify swap configuration
removeSwap IRIX removes the indicated swap element
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