comparison src/process.c @ 91005:424b655804ca

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 846-851) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 88-92) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 242-244) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
author Miles Bader <miles@gnu.org>
date Mon, 13 Aug 2007 13:48:35 +0000
parents f55f9811f5d7 e5a68f18fcb9
children bdb3fe0ba9fa
comparison
equal deleted inserted replaced
91004:f72cf5b2ab11 91005:424b655804ca
2777 2777
2778 :filter FILTER -- Install FILTER as the process filter. 2778 :filter FILTER -- Install FILTER as the process filter.
2779 2779
2780 :filter-multibyte BOOL -- If BOOL is non-nil, strings given to the 2780 :filter-multibyte BOOL -- If BOOL is non-nil, strings given to the
2781 process filter are multibyte, otherwise they are unibyte. 2781 process filter are multibyte, otherwise they are unibyte.
2782 If this keyword is not specified, the strings are multibyte iff 2782 If this keyword is not specified, the strings are multibyte if
2783 `default-enable-multibyte-characters' is non-nil. 2783 `default-enable-multibyte-characters' is non-nil.
2784 2784
2785 :sentinel SENTINEL -- Install SENTINEL as the process sentinel. 2785 :sentinel SENTINEL -- Install SENTINEL as the process sentinel.
2786 2786
2787 :log LOG -- Install LOG as the server process log function. This 2787 :log LOG -- Install LOG as the server process log function. This
3914 it specifies a fractional number of seconds to wait. 3914 it specifies a fractional number of seconds to wait.
3915 3915
3916 If optional fourth arg JUST-THIS-ONE is non-nil, only accept output 3916 If optional fourth arg JUST-THIS-ONE is non-nil, only accept output
3917 from PROCESS, suspending reading output from other processes. 3917 from PROCESS, suspending reading output from other processes.
3918 If JUST-THIS-ONE is an integer, don't run any timers either. 3918 If JUST-THIS-ONE is an integer, don't run any timers either.
3919 Return non-nil iff we received any output before the timeout expired. */) 3919 Return non-nil if we received any output before the timeout expired. */)
3920 (process, seconds, millisec, just_this_one) 3920 (process, seconds, millisec, just_this_one)
3921 register Lisp_Object process, seconds, millisec, just_this_one; 3921 register Lisp_Object process, seconds, millisec, just_this_one;
3922 { 3922 {
3923 int secs, usecs = 0; 3923 int secs, usecs = 0;
3924 3924
4246 4246
4247 If WAIT_FOR_CELL is a cons cell, wait until its car is non-nil 4247 If WAIT_FOR_CELL is a cons cell, wait until its car is non-nil
4248 (and gobble terminal input into the buffer if any arrives). 4248 (and gobble terminal input into the buffer if any arrives).
4249 4249
4250 If WAIT_PROC is specified, wait until something arrives from that 4250 If WAIT_PROC is specified, wait until something arrives from that
4251 process. The return value is true iff we read some input from 4251 process. The return value is true if we read some input from
4252 that process. 4252 that process.
4253 4253
4254 If JUST_WAIT_PROC is non-nil, handle only output from WAIT_PROC 4254 If JUST_WAIT_PROC is non-nil, handle only output from WAIT_PROC
4255 (suspending output from other processes). A negative value 4255 (suspending output from other processes). A negative value
4256 means don't run any timers either. 4256 means don't run any timers either.
4257 4257
4258 If WAIT_PROC is specified, then the function returns true iff we 4258 If WAIT_PROC is specified, then the function returns true if we
4259 received input from that process before the timeout elapsed. 4259 received input from that process before the timeout elapsed.
4260 Otherwise, return true iff we received input from any process. */ 4260 Otherwise, return true if we received input from any process. */
4261 4261
4262 int 4262 int
4263 wait_reading_process_output (time_limit, microsecs, read_kbd, do_display, 4263 wait_reading_process_output (time_limit, microsecs, read_kbd, do_display,
4264 wait_for_cell, wait_proc, just_wait_proc) 4264 wait_for_cell, wait_proc, just_wait_proc)
4265 int time_limit, microsecs, read_kbd, do_display; 4265 int time_limit, microsecs, read_kbd, do_display;
7260 always be NULL, since `subprocesses' isn't defined. 7260 always be NULL, since `subprocesses' isn't defined.
7261 7261
7262 do_display != 0 means redisplay should be done to show subprocess 7262 do_display != 0 means redisplay should be done to show subprocess
7263 output that arrives. 7263 output that arrives.
7264 7264
7265 Return true iff we received input from any process. */ 7265 Return true if we received input from any process. */
7266 7266
7267 int 7267 int
7268 wait_reading_process_output (time_limit, microsecs, read_kbd, do_display, 7268 wait_reading_process_output (time_limit, microsecs, read_kbd, do_display,
7269 wait_for_cell, wait_proc, just_wait_proc) 7269 wait_for_cell, wait_proc, just_wait_proc)
7270 int time_limit, microsecs, read_kbd, do_display; 7270 int time_limit, microsecs, read_kbd, do_display;