dpkg 1.22.7-3-g89f48
|
Functions | |
char * | dpkg_get_pid_execname (pid_t pid) |
Get the executable name for a PID. | |
char * dpkg_get_pid_execname | ( | pid_t | pid | ) |
Get the executable name for a PID.
Tries to obtain the executable name or process name for a specific PID, if the executable name cannot be obtained then it will return NULL.
References file_slurp(), m_strdup(), varbuf_detach(), and VARBUF_INIT.
Referenced by file_lock().