Function: process-type
process-type is a function defined in process.c.
Signature
(process-type PROCESS)
Documentation
Return the connection type of PROCESS.
The value is either the symbol real, network, serial, or pipe.
PROCESS may be a process, a buffer, the name of a process or buffer, or
nil, indicating the current buffer's process.
Source Code
// Defined in /usr/src/emacs/src/process.c
{
Lisp_Object proc;
proc = get_process (process);
return XPROCESS (proc)->type;
}