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

NAME

6       capng_save_state - get the internal library state
7

SYNOPSIS

9       #include <cap-ng.h>
10
11       void *capng_save_state(void);
12
13

DESCRIPTION

15       capng_save_state  is  a function that returns a pointer to the internal
16       state of the libcap-ng library. It should be considered opaque and  not
17       for  alteration directly. This function should be used when you suspect
18       a third party library may use libcap-ng also and want to make  sure  it
19       doesn't  alter  something  important. This function is not available in
20       the python bindings.
21
22

RETURN VALUE

24       This returns NULL on failure and a non-NULL pointer otherwise.
25
26

SEE ALSO

28       capng_restore_state(3), capabilities(7)
29
30

AUTHOR

32       Steve Grubb
33
34
35
36Red Hat                            June 2009               CAPNG_SAVE_STATE(3)
Impressum