E.9.3 Process Internals
The fields of a process (for a complete list, see the definition of struct Lisp_Process in process.h) include:
nameβ
A Lisp string, the name of the process.
commandβ
A list containing the command arguments that were used to start this process. For a network or serial process, it is nil if the process is running or t if the process is stopped.
filterβ
A Lisp function used to accept output from the process.
sentinelβ
A Lisp function called whenever the state of the process changes.
bufferβ
The associated buffer of the process.
pidβ
An integer, the operating systemβs process ID. Pseudo-processes such as network or serial connections use a value of 0.
childpβ
A flag, t if this is really a child process. For a network or serial connection, it is a plist based on the arguments to make-network-process or make-serial-process.
markβ
A marker indicating the position of the end of the last output from this process inserted into the buffer. This is often but not always the end of the buffer.
kill_without_queryβ
If this is non-zero, killing Emacs while this process is still running does not ask for confirmation about killing the process.
raw_statusβ
The raw process status, as returned by the wait system call.
statusβ
The process status, as process-status should return it. This is a Lisp symbol, a cons cell, or a list.
tickβ
update_tickβ
If these two fields are not equal, a change in the status of the process needs to be reported, either by running the sentinel or by inserting a message in the process buffer.
pty_flagβ
Non-zero if communication with the subprocess uses a pty; zero if it uses a pipe.
infdβ
The file descriptor for input from the process.
outfdβ
The file descriptor for output to the process.
tty_nameβ
The name of the terminal that the subprocess is using, or nil if it is using pipes.
decode_coding_systemβ
Coding-system for decoding the input from this process.
decoding_bufβ
A working buffer for decoding.
decoding_carryoverβ
Size of carryover in decoding.
encode_coding_systemβ
Coding-system for encoding the output to this process.
encoding_bufβ
A working buffer for encoding.
inherit_coding_system_flagβ
Flag to set coding-system of the process buffer from the coding system used to decode process output.
typeβ
Symbol indicating the type of process: real, network, serial.