Mercurial > emacs
comparison src/callproc.c @ 109351:c8a969d13eda
merge trunk
| author | Kenichi Handa <handa@etlken> |
|---|---|
| date | Fri, 09 Jul 2010 15:55:27 +0900 |
| parents | 8cfee7d2955f |
| children | e856a274549b |
comparison
equal
deleted
inserted
replaced
| 109350:c11d07f3d731 | 109351:c8a969d13eda |
|---|---|
| 213 Otherwise it waits for PROGRAM to terminate | 213 Otherwise it waits for PROGRAM to terminate |
| 214 and returns a numeric exit status or a signal description string. | 214 and returns a numeric exit status or a signal description string. |
| 215 If you quit, the process is killed with SIGINT, or SIGKILL if you quit again. | 215 If you quit, the process is killed with SIGINT, or SIGKILL if you quit again. |
| 216 | 216 |
| 217 usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | 217 usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) |
| 218 (nargs, args) | 218 (int nargs, register Lisp_Object *args) |
| 219 int nargs; | |
| 220 register Lisp_Object *args; | |
| 221 { | 219 { |
| 222 Lisp_Object infile, buffer, current_dir, path; | 220 Lisp_Object infile, buffer, current_dir, path; |
| 223 int display_p; | 221 int display_p; |
| 224 int fd[2]; | 222 int fd[2]; |
| 225 int filefd; | 223 int filefd; |
| 875 Otherwise it waits for PROGRAM to terminate | 873 Otherwise it waits for PROGRAM to terminate |
| 876 and returns a numeric exit status or a signal description string. | 874 and returns a numeric exit status or a signal description string. |
| 877 If you quit, the process is killed with SIGINT, or SIGKILL if you quit again. | 875 If you quit, the process is killed with SIGINT, or SIGKILL if you quit again. |
| 878 | 876 |
| 879 usage: (call-process-region START END PROGRAM &optional DELETE BUFFER DISPLAY &rest ARGS) */) | 877 usage: (call-process-region START END PROGRAM &optional DELETE BUFFER DISPLAY &rest ARGS) */) |
| 880 (nargs, args) | 878 (int nargs, register Lisp_Object *args) |
| 881 int nargs; | |
| 882 register Lisp_Object *args; | |
| 883 { | 879 { |
| 884 struct gcpro gcpro1; | 880 struct gcpro gcpro1; |
| 885 Lisp_Object filename_string; | 881 Lisp_Object filename_string; |
| 886 register Lisp_Object start, end; | 882 register Lisp_Object start, end; |
| 887 int count = SPECPDL_INDEX (); | 883 int count = SPECPDL_INDEX (); |
| 1381 This function searches `process-environment' for VARIABLE. | 1377 This function searches `process-environment' for VARIABLE. |
| 1382 | 1378 |
| 1383 If optional parameter ENV is a list, then search this list instead of | 1379 If optional parameter ENV is a list, then search this list instead of |
| 1384 `process-environment', and return t when encountering a negative entry | 1380 `process-environment', and return t when encountering a negative entry |
| 1385 \(an entry for a variable with no value). */) | 1381 \(an entry for a variable with no value). */) |
| 1386 (variable, env) | 1382 (Lisp_Object variable, Lisp_Object env) |
| 1387 Lisp_Object variable, env; | |
| 1388 { | 1383 { |
| 1389 char *value; | 1384 char *value; |
| 1390 int valuelen; | 1385 int valuelen; |
| 1391 | 1386 |
| 1392 CHECK_STRING (variable); | 1387 CHECK_STRING (variable); |
