SWAB

Section: C Library Functions (3)
Updated: May 15, 1985
Index Return to Main Contents
 

NAME

swab - swap bytes  

SYNOPSIS

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

DESCRIPTION

Swab copies nbytes bytes pointed to by from to the position pointed to by to, exchanging adjacent even and odd bytes. It is useful for carrying binary data between PDP11's and other machines. Nbytes should be even.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 17:21:28 GMT, March 25, 2025