cap_get_flag man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



CAP_GET_FLAG(3C)					      CAP_GET_FLAG(3C)

NAME
     cap_get_flag, cap_set_flag - get or set the value of a capability flag in
     a capability

SYNOPSIS
     #include <sys/capability.h>

     int cap_get_flag(cap_t cap_p, cap_value_t cap, cap_flag_t flag,
     cap_flag_value_t *value_p);
     int cap_set_flag(cap_t cap_p, cap_flag_t flag, int ncap, cap_value_t
     caps[], cap_flag_value_t value);

DESCRIPTION
     cap_get_flag Extracts the current value of the specified capability flag
     (flag) of the capability cap from the capability set pointed to by cap_p
     and stores it in the location pointed to by value.

     cap_set_flag Sets the specified capability flag (flag) in each of the
     array of capabilities caps (which has ncaps elements)of the from the
     capability set pointed to by cap_p and from the location pointed to by
     value.

RETURN VALUES
     Both functions return 0 if successful, -1 otherwise.

ERRORS
     cap_get_flag

     EINVAL	     arguments are invalid

     ENOSYS	     Capability support is not available (not installed).

     cap_set_flag:

     EINVAL	     arguments are invalid

     ENOSYS	     Capability support is not available (not installed).

SEE ALSO
     capabilities(4)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net