proc_cmdline_pid()

The command issued when starting the process

Syntax:

int proc_cmdline_pid(int pid, char *s);

Arguments:

Name Description
pid PID of process
s buffer to put the command line

Description:

The command issued when starting the process.

Return Values:

On success, returns the cmd line length. On error, -1 is returned.

See Also:

proc_exe_pid(), proc_root_pid(), proc_binfmt_pid()



INDEX