int proc_cmdline_pid(int pid, char *s);
Name | Description |
---|---|
pid | PID of process |
s | buffer to put the command line |
The command issued when starting the process.
On success, returns the cmd line length. On error, -1 is returned.
proc_exe_pid(), proc_root_pid(), proc_binfmt_pid()
INDEX |