stralloc_reverse(3)
limb manual
stralloc_reverse(3)
NAME
stralloc_reverse, stralloc_reverse_blocks - reverse the content of a stralloc
SYNOPSIS
#include <limb/stralloc.h>
void stralloc_reverse(stralloc *sa) void stralloc_reverse_blocks(stralloc *sa, size_t blen)
DESCRIPTION
The stralloc_reverse
() function reverses the content of stralloc sa
,
byte-by-byte.
The stralloc_reverse_blocks
() function is similar, but dividing the data by
blocks of blen
bytes.