proc_binfmt_pid()

The binary format of the process

Syntax:

int proc_binfmt_pid(int pid, char *s);

Arguments:

Name Description
pid PID of process
s buffer to put the binary format

Description:

The binary format of the process (eg, elf).

Return Values:

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

See Also:

proc_exe_pid(), proc_root_pid(), proc_cmdline_pid()



INDEX