capng_setpid(3) - Linux man page
Name
capng_setpid - set working pidSynopsis
#include <cap-ng.h>void capng_setpid(int pid);
Description
capng_pid sets the working pid for capabilities operations. This is useful if you want to get the capabilities of a different process.
Return Value
None.
See Also
capng_get_caps_process(3), capabilities(7)