UnixProcess


Description:

[ CCode ( has_construct_function = false , type = "PolkitSubject*" ) ]
public UnixProcess (int pid)

Creates a new UnixProcess for pid.

The uid and start time of the process will be looked up in using e.g. the <filename>/proc</filename> filesystem depending on the platform in use.

Parameters:

pid

The process id.

Returns:

A Subject. Free with unref.