nf_getProcessName

Returns the process name for given process id.

NF_STATUS nf_getProcessName(unsigned int pid, char * buf, int len)

Parameters

processId
Process identifier.
buf
Memory buffer for process name
len
Size of buf, in characters.

Return Values

NF_STATUS_SUCCESS on success.

Remarks

nf_getProcessName reads /proc and returns the appropriate command line for the specified pid.