diff options
author | Werner Koch <wk@gnupg.org> | 2011-02-04 12:57:53 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-02-04 12:57:53 +0100 |
commit | b008274afdbe375b32a7e66dbd073e200f6f0587 (patch) | |
tree | 219e239d39cf06be3f03aa82fb572080ac163a15 /common/exechelp.h | |
parent | Let autogen.sh check the git config (diff) | |
download | gnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.tar.xz gnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.zip |
Nuked almost all trailing white space.post-nuke-of-trailing-ws
We better do this once and for all instead of cluttering all future
commits with diffs of trailing white spaces. In the majority of cases
blank or single lines are affected and thus this change won't disturb
a git blame too much. For future commits the pre-commit scripts
checks that this won't happen again.
Diffstat (limited to 'common/exechelp.h')
-rw-r--r-- | common/exechelp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/exechelp.h b/common/exechelp.h index e6a0ee5e1..b97516657 100644 --- a/common/exechelp.h +++ b/common/exechelp.h @@ -66,7 +66,7 @@ gpg_error_t gnupg_create_outbound_pipe (int filedes[2]); The arguments for the process are expected in the NULL terminated array ARGV. The program name itself should not be included there. If PREEXEC is not NULL, the given function will be called right - before the exec. + before the exec. Returns 0 on success or an error code. Calling gnupg_wait_process and gnupg_release_process is required if the function succeeded. @@ -77,7 +77,7 @@ gpg_error_t gnupg_create_outbound_pipe (int filedes[2]); This flag is only useful under W32 (but not W32CE) systems, so that no new console is created and pops up a console window when starting the server. Does not work on W32CE. - + Bit 6: On W32 (but not on W32CE) run AllowSetForegroundWindow for the child. Note that due to unknown problems this actually allows SetForegroundWindow for all childs of this process. @@ -101,7 +101,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[], included there. Calling gnupg_wait_process and gnupg_release_process is required. Returns 0 on success or an error code. */ -gpg_error_t gnupg_spawn_process_fd (const char *pgmname, +gpg_error_t gnupg_spawn_process_fd (const char *pgmname, const char *argv[], int infd, int outfd, int errfd, pid_t *pid); @@ -120,11 +120,11 @@ gpg_error_t gnupg_spawn_process_fd (const char *pgmname, is then stored at R_EXITCODE. An exit code of -1 indicates that the process terminated abnormally (e.g. due to a signal). - GPG_ERR_TIMEOUT + GPG_ERR_TIMEOUT The process is still running (returned only if HANG is false). - GPG_ERR_INV_VALUE - An invalid PID has been specified. + GPG_ERR_INV_VALUE + An invalid PID has been specified. Other error codes may be returned as well. Unless otherwise noted, -1 will be stored at R_EXITCODE. R_EXITCODE may be passed as NULL |