SS8_SWAP(3) Ssstr Manual SS8_SWAP(3)
NAME
ss8_swap - swap the contents of two ssstr byte strings
SYNOPSIS
#include <ss8str.h>
void ss8_swap(ss8str *restrict str1, ss8str *restrict str2);
DESCRIPTION
ss8_swap() swaps the values of the two ss8str objects pointed to by
str1 and str2.
No memory allocation or deallocation is performed.
Behavior is undefined unless str1 and str2 point to valid and distinct
ss8str objects.
SEE ALSO
ss8_copy(3), ss8_init_move_destroy(3), ss8_move(3), ssstr(7)
SSSTR 2023-12-30 SS8_SWAP(3)