centos man page for capng_capability_to_name

Query: capng_capability_to_name

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CAPNG_CAPABILITY_TO_NAME(3)					   Libcap-ng API				       CAPNG_CAPABILITY_TO_NAME(3)

NAME
capng_capability_to_name - convert capability integer to text
SYNOPSIS
#include <cap-ng.h> const char *capng_capability_to_name(unsigned int capability);
DESCRIPTION
capng_capabilityi_to_name will take the integer being passed and look it up to see what its text string representation would be. The inte- ger being input must be in the valid range defined in linux/capabiliy.h. The string that is output is the same as the define text from linux/capabiliy.h with the CAP_ prefix removed and lower case. This is useful for taking integer representation and converting it to some- thing more user friendly for display.
RETURN VALUE
This returns a NULL pointer on failure and the correct string otherwise.
SEE ALSO
capng_name_to_capability(3), capabilities(7)
AUTHOR
Steve Grubb Red Hat June 2009 CAPNG_CAPABILITY_TO_NAME(3)
Related Man Pages
uuid_unparse(3) - centos
uuid_parse(3) - centos
uuid_unparse(3) - debian
capng_change_id(3) - centos
uuid_parse(3) - suse
Similar Topics in the Unix Linux Community
DB2 convert digits to binary format
Tar Command
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq