1CAPNG_SETPID(3) Libcap-ng API CAPNG_SETPID(3)
23
4
NAME
6capng_setpid - set working pid
7
SYNOPSIS
9#include <cap-ng.h>
1011
void capng_setpid(int pid);
1213
DESCRIPTION
15capng_pid sets the working pid for capabilities operations. This is
16useful if you want to get the capabilities of a different process.
1718
RETURN VALUE
20None.
2122
SEE ALSO
24capng_get_caps_process(3), capabilities(7)
2526
AUTHOR
28Steve Grubb
2930
31
32
Red Hat June 2009 CAPNG_SETPID(3)