Mercurial > hg > octave-nkf > gnulib-hg
diff lib/wait-process.h @ 6761:14eb5491c867
* lib/wait-process.c, lib/wait-process.h, lib/csharpcomp.c,
lib/execute.c, lib/javacomp.c: Back out previous change.
author | Derek R. Price <derek@ximbiot.com> |
---|---|
date | Wed, 26 Apr 2006 15:55:46 +0000 |
parents | 5d118b8eb6a4 |
children | bbbbbf4cd1c5 |
line wrap: on
line diff
--- a/lib/wait-process.h +++ b/lib/wait-process.h @@ -34,14 +34,11 @@ /* Wait for a subprocess to finish. Return its exit code. If it didn't terminate correctly, exit if exit_on_error is true, otherwise - return 127 and set exitsignal if the child terminated because of a signal. + return 127. Arguments: - child is the pid of the subprocess. - progname is the name of the program executed by the subprocess, used for error messages. - - exitsignal is an optional pointer to an int to hold the signal number of - any signal that caused the child to exit. It will be set to zero if this - function exits with an error not caused by the child catching a signal. - If ignore_sigpipe is true, consider a subprocess termination due to SIGPIPE as equivalent to a success. This is suitable for processes whose only purpose is to write to standard output. This flag can be safely set @@ -53,7 +50,6 @@ - If exit_on_error is true, any error will cause the main process to exit with an error status. */ extern int wait_subprocess (pid_t child, const char *progname, - int *exitsignal, bool ignore_sigpipe, bool null_stderr, bool slave_process, bool exit_on_error);