Query: array_truncate
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
array_truncate(3) Library Functions Manual array_truncate(3)NAMEarray_truncate - reduce number of initialized bytesSYNTAX#include <array.h> void array_truncate(array* x, uint64 membersize, int64 len); array_truncate(&x,sizeof(t),len);DESCRIPTIONarray_truncate reduces the number of initialized bytes in x to exactly len*sizeof(t). If the number of initialized bytes was already this small (or smaller), array_truncate has no effect. If len is negative, array_truncate has no effect. If x is unallocated, array_truncate has no effect. If x has failed, array_truncate has no effect. array_truncate does not change the allocation in x. If you want to free the memory used by x, use array_reset.SEE ALSOarray_allocate(3), array_get(3), array_fail(3), array_trunc(3), array_reset(3) array_truncate(3)
Related Man Pages |
---|
setdomainname(2) - linux |
array_allocate(3) - debian |
io_trywrite(3) - debian |
io_waitread(3) - debian |
setdomainname(2) - suse |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Detecting unused variables... |