aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/process.c b/src/process.c
index 34045b4977a..e9b12b1f2dc 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4607,8 +4607,8 @@ DEFUN ("accept-process-output", Faccept_process_output, Saccept_process_output,
4607 0, 4, 0, 4607 0, 4, 0,
4608 doc: /* Allow any pending output from subprocesses to be read by Emacs. 4608 doc: /* Allow any pending output from subprocesses to be read by Emacs.
4609It is given to their filter functions. 4609It is given to their filter functions.
4610Optional argument PROCESS means do not return until output has been 4610Optional argument PROCESS means to return only after output is
4611received from PROCESS. 4611received from PROCESS or PROCESS closes the connection.
4612 4612
4613Optional second argument SECONDS and third argument MILLISEC 4613Optional second argument SECONDS and third argument MILLISEC
4614specify a timeout; return after that much time even if there is 4614specify a timeout; return after that much time even if there is
@@ -4620,7 +4620,8 @@ If optional fourth argument JUST-THIS-ONE is non-nil, accept output
4620from PROCESS only, suspending reading output from other processes. 4620from PROCESS only, suspending reading output from other processes.
4621If JUST-THIS-ONE is an integer, don't run any timers either. 4621If JUST-THIS-ONE is an integer, don't run any timers either.
4622Return non-nil if we received any output from PROCESS (or, if PROCESS 4622Return non-nil if we received any output from PROCESS (or, if PROCESS
4623is nil, from any process) before the timeout expired. */) 4623is nil, from any process) before the timeout expired or the
4624corresponding connection was closed. */)
4624 (Lisp_Object process, Lisp_Object seconds, Lisp_Object millisec, 4625 (Lisp_Object process, Lisp_Object seconds, Lisp_Object millisec,
4625 Lisp_Object just_this_one) 4626 Lisp_Object just_this_one)
4626{ 4627{
@@ -6463,9 +6464,11 @@ DEFUN ("process-send-region", Fprocess_send_region, Sprocess_send_region,
6463PROCESS may be a process, a buffer, the name of a process or buffer, or 6464PROCESS may be a process, a buffer, the name of a process or buffer, or
6464nil, indicating the current buffer's process. 6465nil, indicating the current buffer's process.
6465Called from program, takes three arguments, PROCESS, START and END. 6466Called from program, takes three arguments, PROCESS, START and END.
6466If the region is more than 500 characters long, 6467If the region is larger than the input buffer of the process (the
6467it is sent in several bunches. This may happen even for shorter regions. 6468length of which depends on the process connection type and the
6468Output from processes can arrive in between bunches. 6469operating system), it is sent in several bunches. This may happen
6470even for shorter regions. Output from processes can arrive in between
6471bunches.
6469 6472
6470If PROCESS is a non-blocking network process that hasn't been fully 6473If PROCESS is a non-blocking network process that hasn't been fully
6471set up yet, this function will block until socket setup has completed. */) 6474set up yet, this function will block until socket setup has completed. */)
@@ -6496,9 +6499,10 @@ DEFUN ("process-send-string", Fprocess_send_string, Sprocess_send_string,
6496 doc: /* Send PROCESS the contents of STRING as input. 6499 doc: /* Send PROCESS the contents of STRING as input.
6497PROCESS may be a process, a buffer, the name of a process or buffer, or 6500PROCESS may be a process, a buffer, the name of a process or buffer, or
6498nil, indicating the current buffer's process. 6501nil, indicating the current buffer's process.
6499If STRING is more than 500 characters long, 6502If STRING is larger than the input buffer of the process (the length
6500it is sent in several bunches. This may happen even for shorter strings. 6503of which depends on the process connection type and the operating
6501Output from processes can arrive in between bunches. 6504system), it is sent in several bunches. This may happen even for
6505shorter strings. Output from processes can arrive in between bunches.
6502 6506
6503If PROCESS is a non-blocking network process that hasn't been fully 6507If PROCESS is a non-blocking network process that hasn't been fully
6504set up yet, this function will block until socket setup has completed. */) 6508set up yet, this function will block until socket setup has completed. */)