proc_exe_pid()

The executable of this process

Syntax:

int proc_exe_pid(int pid, char *s);

Arguments:

Name Description
pid PID of process
s buffer to put the executable

Description:

The executable (with path) of this process.

Return Values:

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

See Also:

proc_root_pid(), proc_cmdline_pid(), proc_cwd_pid()



INDEX