[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Linux' (#rtl)

capget

Return the capabilities for the indicated thread

Declaration

Source position: linux.pp line 294

function capget(

  header: Puser_cap_header;

  data: Puser_cap_data

):cint;

Description

capget returns the capabilities of the indicated thread in header. The thread is identified by the process ID, or -1 for all caller (and child) process ID's.

Refer to the linux man pages (7 capabilities) for more info.

Errors

On success, zero is returned, on error -1 is returned, and fperrno is set to the error.

See also

capset

  

Set the capabilities for the indicated thread


Documentation generated on: Nov 14 2015