CAP_SIZE(3C) CAP_SIZE(3C)
cap_size - return the size of an capability
#include <sys/capabilities.h>
ssize_t cap_size(struct cap *capp);
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.
cap_size returns sizeof(cap_t) or -1 if capp is null.
EINVAL capp is null
capabilities(4)
PPPPaaaaggggeeee 1111 [ Back ]
|