@c ----------------------------------------------------------------------
@node swab, misc
@heading @code{swab}
@subheading Syntax

@example
#include <osfcn.h>

void swab(void *from, void *to, int bytes);
@end example

@subheading Description

This function swaps each pair of bytes in @var{from} as they're copied
to @var{to}.

@subheading Return Value

None.

@subheading Example

@example
swab(packet, header, sizeof(header);
@end example

@c ----------------------------------------------------------------------
@node swap, misc
@heading @code{swap}
@subheading Syntax

@example
#include <swap.h>

swap(a,b)
@end example

@subheading Description

This macro swaps the values of two variables of the same type,
regardless of what type they actually are.

@subheading Example

@example
double a, b;
if (a<b)
  swap(a,b);
@end example

