blob: 3de67779d8dcc3ee238f2251cbf88eaa07ee5f26 [file] [log] [blame]
Nick Kralevich1d1011a2012-09-06 10:14:03 -07001.TH "CAPNG_SETPID" "3" "June 2009" "Red Hat" "Libcap-ng API"
2.SH NAME
3capng_setpid \- set working pid
4.SH "SYNOPSIS"
5.B #include <cap-ng.h>
6.sp
7void capng_setpid(int pid);
8
9.SH "DESCRIPTION"
10
11capng_pid sets the working pid for capabilities operations. This is useful if you want to get the capabilities of a different process.
12
13.SH "RETURN VALUE"
14
15None.
16
17.SH "SEE ALSO"
18
19.BR capng_get_caps_process (3),
20.BR capabilities (7)
21
22.SH AUTHOR
23Steve Grubb