cap_size(3C)

cap_size - return the size of an capability

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     cap_size - return the size of an capability

SYNOPSIS
     #include <sys/capabilities.h>

     ssize_t cap_size(struct cap *capp);

DESCRIPTION
     Returns the size of a capability pointed to by capp.  In IRIX
     capabilities are all a fixed size, but the POSIX specifications allow for
     the possibility of variable sized structures.

RETURN VALUES
     cap_size returns sizeof(cap_t) or -1 if capp is null.

ERRORS
     EINVAL          capp is null

SEE ALSO
     capabilities(4)