blob: eecdc8f13a05d266bd8c9f4ade05ec37b40dad78 [file] [log] [blame]
Nick Kralevich1d1011a2012-09-06 10:14:03 -07001.TH "CAPNG_SAVE_STATE" "3" "June 2009" "Red Hat" "Libcap-ng API"
2.SH NAME
3capng_save_state \- get the internal library state
4.SH "SYNOPSIS"
5.B #include <cap-ng.h>
6.sp
7void *capng_save_state(void);
8
9.SH "DESCRIPTION"
10
11capng_save_state is a function that returns a pointer to the internal state of the libcap-ng library. It should be considered opaque and not for alteration directly. This function should be used when you suspect a third party library may use libcap-ng also and want to make sure it doesn't alter something important. This function is not available in the python bindings.
12
13.SH "RETURN VALUE"
14
15This returns NULL on failure and a non-NULL pointer otherwise.
16
17.SH "SEE ALSO"
18
19.BR capng_restore_state (3),
20.BR capabilities (7)
21
22.SH AUTHOR
23Steve Grubb