Nick Kralevich | 1d1011a | 2012-09-06 10:14:03 -0700 | [diff] [blame] | 1 | .TH "CAPNG_SAVE_STATE" "3" "June 2009" "Red Hat" "Libcap-ng API" |
| 2 | .SH NAME |
| 3 | capng_save_state \- get the internal library state |
| 4 | .SH "SYNOPSIS" |
| 5 | .B #include <cap-ng.h> |
| 6 | .sp |
| 7 | void *capng_save_state(void); |
| 8 | |
| 9 | .SH "DESCRIPTION" |
| 10 | |
| 11 | capng_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 | |
| 15 | This 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 |
| 23 | Steve Grubb |