int proc_root_pid(int pid, char *s);
Name | Description |
---|---|
pid | PID of process |
s | buffer to put the root directory |
The root directory of the process.
On success, returns the root dir length. On error, -1 is returned.
proc_exe_pid(), proc_cmdline(), proc_binfmt_pid(), proc_cwd_pid()
INDEX |