array_trunc man page

array_trunc — reduce number of initialized bytes

Syntax

#include <array.h>

void array_trunc(array* x);

array x;
array_trunc(&x);

Description

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

See Also

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

Referenced By

array_reset(3), array_truncate(3).