DOKK / manpages / debian 11 / libowfat-dev / array_trunc.3.en
array_trunc(3) Library Functions Manual array_trunc(3)

array_trunc - reduce number of initialized bytes

#include <array.h>

void array_trunc(array* x);


array x;
array_trunc(&x);

array_trunc is the same as array_truncate with len equal to 0.

array_allocate(3), array_get(3), array_fail(3), array_truncate(3), array_reset(3)