aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/process.c b/src/process.c
index 29bf43e0f29..9a0ab00c505 100644
--- a/src/process.c
+++ b/src/process.c
@@ -980,7 +980,7 @@ If PROCESS has not yet exited or died, return 0. */)
980DEFUN ("process-id", Fprocess_id, Sprocess_id, 1, 1, 0, 980DEFUN ("process-id", Fprocess_id, Sprocess_id, 1, 1, 0,
981 doc: /* Return the process id of PROCESS. 981 doc: /* Return the process id of PROCESS.
982This is the pid of the external process which PROCESS uses or talks to. 982This is the pid of the external process which PROCESS uses or talks to.
983For a network connection, this value is nil. */) 983For a network, serial, and pipe connections, this value is nil. */)
984 (register Lisp_Object process) 984 (register Lisp_Object process)
985{ 985{
986 pid_t pid; 986 pid_t pid;
@@ -1004,8 +1004,8 @@ DEFUN ("process-command", Fprocess_command, Sprocess_command, 1, 1, 0,
1004 doc: /* Return the command that was executed to start PROCESS. 1004 doc: /* Return the command that was executed to start PROCESS.
1005This is a list of strings, the first string being the program executed 1005This is a list of strings, the first string being the program executed
1006and the rest of the strings being the arguments given to it. 1006and the rest of the strings being the arguments given to it.
1007For a network or serial process, this is nil (process is running) or t 1007For a network or serial or pipe connection, this is nil (process is running)
1008\(process is stopped). */) 1008or t (process is stopped). */)
1009 (register Lisp_Object process) 1009 (register Lisp_Object process)
1010{ 1010{
1011 CHECK_PROCESS (process); 1011 CHECK_PROCESS (process);
@@ -1237,13 +1237,13 @@ DEFUN ("process-query-on-exit-flag",
1237DEFUN ("process-contact", Fprocess_contact, Sprocess_contact, 1237DEFUN ("process-contact", Fprocess_contact, Sprocess_contact,
1238 1, 2, 0, 1238 1, 2, 0,
1239 doc: /* Return the contact info of PROCESS; t for a real child. 1239 doc: /* Return the contact info of PROCESS; t for a real child.
1240For a network or serial connection, the value depends on the optional 1240For a network or serial or pipe connection, the value depends on the
1241KEY arg. If KEY is nil, value is a cons cell of the form (HOST 1241optional KEY arg. If KEY is nil, value is a cons cell of the form
1242SERVICE) for a network connection or (PORT SPEED) for a serial 1242\(HOST SERVICE) for a network connection or (PORT SPEED) for a serial
1243connection. If KEY is t, the complete contact information for the 1243connection; it is t for a pipe connection. If KEY is t, the complete
1244connection is returned, else the specific value for the keyword KEY is 1244contact information for the connection is returned, else the specific
1245returned. See `make-network-process' or `make-serial-process' for a 1245value for the keyword KEY is returned. See `make-network-process',
1246list of keywords. 1246`make-serial-process', or `make pipe-process' for the list of keywords.
1247If PROCESS is a non-blocking network process that hasn't been fully 1247If PROCESS is a non-blocking network process that hasn't been fully
1248set up yet, this function will block until socket setup has completed. */) 1248set up yet, this function will block until socket setup has completed. */)
1249 (Lisp_Object process, Lisp_Object key) 1249 (Lisp_Object process, Lisp_Object key)
@@ -1316,7 +1316,7 @@ a socket connection. */)
1316 1316
1317DEFUN ("process-type", Fprocess_type, Sprocess_type, 1, 1, 0, 1317DEFUN ("process-type", Fprocess_type, Sprocess_type, 1, 1, 0,
1318 doc: /* Return the connection type of PROCESS. 1318 doc: /* Return the connection type of PROCESS.
1319The value is either the symbol `real', `network', or `serial'. 1319The value is either the symbol `real', `network', `serial', or `pipe'.
1320PROCESS may be a process, a buffer, the name of a process or buffer, or 1320PROCESS may be a process, a buffer, the name of a process or buffer, or
1321nil, indicating the current buffer's process. */) 1321nil, indicating the current buffer's process. */)
1322 (Lisp_Object process) 1322 (Lisp_Object process)
@@ -6532,8 +6532,8 @@ See function `interrupt-process' for more details on usage. */)
6532DEFUN ("stop-process", Fstop_process, Sstop_process, 0, 2, 0, 6532DEFUN ("stop-process", Fstop_process, Sstop_process, 0, 2, 0,
6533 doc: /* Stop process PROCESS. May be process or name of one. 6533 doc: /* Stop process PROCESS. May be process or name of one.
6534See function `interrupt-process' for more details on usage. 6534See function `interrupt-process' for more details on usage.
6535If PROCESS is a network or serial process, inhibit handling of incoming 6535If PROCESS is a network or serial or pipe connection, inhibit handling
6536traffic. */) 6536of incoming traffic. */)
6537 (Lisp_Object process, Lisp_Object current_group) 6537 (Lisp_Object process, Lisp_Object current_group)
6538{ 6538{
6539 if (PROCESSP (process) && (NETCONN_P (process) || SERIALCONN_P (process) 6539 if (PROCESSP (process) && (NETCONN_P (process) || SERIALCONN_P (process)