logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

array_bytes - get number of allocated members in array

Description

       array_bytes returns the number of initialized bytes in x, without regard to t.

       If x is unallocated, array_length and array_bytes return 0.

Name

       array_bytes - get number of allocated members in array

See Also

array_allocate(3), array_get(3), array_fail(3), array_length(3)

                                                                                                  array_bytes(3)

Syntax

#include<libowfat/array.h>

       int64 array_bytes(array* x);

         array x;
         int64 bytes = array_bytes(&x);

See Also