Mercurial > hg > xemacs-beta
comparison src/process.c @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 501cfd01ee6d |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
105 | 105 |
106 /* List of process objects. */ | 106 /* List of process objects. */ |
107 Lisp_Object Vprocess_list; | 107 Lisp_Object Vprocess_list; |
108 | 108 |
109 extern Lisp_Object Vlisp_EXEC_SUFFIXES; | 109 extern Lisp_Object Vlisp_EXEC_SUFFIXES; |
110 Lisp_Object Vnull_device; | |
110 | 111 |
111 | 112 |
112 | 113 |
113 static Lisp_Object | 114 static Lisp_Object |
114 mark_process (Lisp_Object obj) | 115 mark_process (Lisp_Object obj) |
2073 nil means don't delete them until `list-processes' is run. | 2074 nil means don't delete them until `list-processes' is run. |
2074 */ ); | 2075 */ ); |
2075 | 2076 |
2076 delete_exited_processes = 1; | 2077 delete_exited_processes = 1; |
2077 | 2078 |
2079 DEFVAR_CONST_LISP ("null-device", &Vnull_device /* | |
2080 Name of the null device, which differs from system to system. | |
2081 The null device is a filename that acts as a sink for arbitrary amounts of | |
2082 data, which is discarded, or as a source for a zero-length file. | |
2083 It is available on all the systems that we currently support, but with | |
2084 different names (typically either `/dev/null' or `nul'). | |
2085 | |
2086 Note that there is also a /dev/zero on most modern Unix versions (including | |
2087 Cygwin), which acts like /dev/null when used as a sink, but as a source | |
2088 it sends a non-ending stream of zero bytes. It's used most often along | |
2089 with memory-mapping. We don't provide a Lisp variable for this because | |
2090 the operations needing this are lower level than what ELisp programs | |
2091 typically do, and in any case no equivalent exists under native MS Windows. | |
2092 */ ); | |
2093 Vnull_device = build_string (NULL_DEVICE); | |
2094 | |
2078 DEFVAR_LISP ("process-connection-type", &Vprocess_connection_type /* | 2095 DEFVAR_LISP ("process-connection-type", &Vprocess_connection_type /* |
2079 Control type of device used to communicate with subprocesses. | 2096 Control type of device used to communicate with subprocesses. |
2080 Values are nil to use a pipe, or t or `pty' to use a pty. | 2097 Values are nil to use a pipe, or t or `pty' to use a pty. |
2081 The value has no effect if the system has no ptys or if all ptys are busy: | 2098 The value has no effect if the system has no ptys or if all ptys are busy: |
2082 then a pipe is used in any case. | 2099 then a pipe is used in any case. |