int proc_exe_pid(int pid, char *s);
Name | Description |
---|---|
pid | PID of process |
s | buffer to put the executable |
The executable (with path) of this process.
On success, returns the executable length. On error, -1 is returned.
proc_root_pid(), proc_cmdline_pid(), proc_cwd_pid()
INDEX |