1CAPNG_PRINT_CAPS_NUMERIC(3)      Libcap-ng API     CAPNG_PRINT_CAPS_NUMERIC(3)
2
3
4

NAME

6       capng_print_caps_text - print names of values for capabilities set
7

SYNOPSIS

9       #include <cap-ng.h>
10
11       char *capng_print_caps_text(capng_print_t where, capng_type_t which);
12
13

DESCRIPTION

15       capng_print_caps_text  will  create a text string representation of the
16       internal capability set specified. The representation can  be  sent  to
17       either   stdout   or   a   buffer   by  passing  CAPNG_PRINT_STDOUT  or
18       CAPNG_PRINT_BUFFER respectively for the where parameter. If the  option
19       was  for  a  buffer, this function will malloc a buffer that the caller
20       must free.
21
22       The  legal  values  for  the  which  paramemeter  is   CAPNG_EFFECTIVE,
23       CAPNG_PERMITTED, CAPNG_INHERITABLE, or CAPNG_BOUNDING_SET.
24
25

RETURN VALUE

27       If  CAPNG_PRINT_BUFFER  was  selected  for where, this will be the text
28       buffer and NULL on failure. If  CAPNG_PRINT_STDOUT  was  selected  then
29       this value will be NULL no matter what.
30
31

SEE ALSO

33       capng_print_caps_numeric(3),capabilities(7)
34
35

AUTHOR

37       Steve Grubb
38
39
40
41Red Hat                            June 2009       CAPNG_PRINT_CAPS_NUMERIC(3)
Impressum