Copies privileges.
Security Library (libc.a)
The priv_copy subroutine copies all of the privileges specified in the pv1 privilege set to the pv2 privilege set, and replaces all of the privileges in the pv2 privilege set.
Item | Description |
---|---|
pv1 | Specifies the privilege set to copy from. |
pv2 | Specifies the privilege set to copy to. |
The priv_copy subroutine returns no values.
No errno value is set.