1 PPRIV(3PROC) Process Control Library Functions PPRIV(3PROC)
2
3 NAME
4 Ppriv, Ppriv_free - get and free process privilege sets
5
6 SYNOPSIS
7 Process Control Library (libproc, -lproc)
8 #include <libproc.h>
9
10 int
11 Ppriv(struct ps_prochandle *P, prpriv_t **pprv);
12
13 void
14 Ppriv_free(struct ps_prochandle *P, prpriv_t *prv);
15
16 DESCRIPTION
17 The Ppriv() function obtains the privilege set of the process handle P.
18 The privilege set, if it exists, will be dynamically allocated and a
19 pointer to it will be placed in pprv. It must be released with a call to
20 Ppriv_free(). The definition of the prpriv_t structure is documented in
21 proc(4).
22
23 The Ppriv_free() function releases the storage in prv that was allocated
24 as a result of calling Ppriv().
25
26 RETURN VALUES
27 Upon successful completion, the Ppriv() function returns 0 and pprv is
|
1 PPRIV(3PROC) Process Control Library Functions PPRIV(3PROC)
2
3 NAME
4 Ppriv, Ppriv_free - get and free process privilege sets
5
6 LIBRARY
7 Process Control Library (libproc, -lproc)
8
9 SYNOPSIS
10 #include <libproc.h>
11
12 int
13 Ppriv(struct ps_prochandle *P, prpriv_t **pprv);
14
15 void
16 Ppriv_free(struct ps_prochandle *P, prpriv_t *prv);
17
18 DESCRIPTION
19 The Ppriv() function obtains the privilege set of the process handle P.
20 The privilege set, if it exists, will be dynamically allocated and a
21 pointer to it will be placed in pprv. It must be released with a call to
22 Ppriv_free(). The definition of the prpriv_t structure is documented in
23 proc(4).
24
25 The Ppriv_free() function releases the storage in prv that was allocated
26 as a result of calling Ppriv().
27
28 RETURN VALUES
29 Upon successful completion, the Ppriv() function returns 0 and pprv is
|