Function: process-name
process-name is a function defined in process.c.
Signature
(process-name PROCESS)
Documentation
Return the name of PROCESS, as a string.
This is the name of the program invoked in PROCESS, possibly modified to make it unique among process names.
Source Code
// Defined in /usr/src/emacs/src/process.c
{
CHECK_PROCESS (process);
return XPROCESS (process)->name;
}