Guardian C Library Calls Reference Manual

Reference to Library Calls
Guardian TNS C Library Calls Reference Manual128833 3-121
memswap (supplementary)
memswap (supplementary)
The memswap function exchanges the contents of two non-overlapping blocks of
memory.
blk1
points to one of the blocks to swap.
blk2
points to the other block to swap.
swap_count
is the number of bytes to swap.
Return Value
none.
#include <stringh>
void memswap(void *blk1, void *blk2, size_t swap_count);