aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-06-07 13:33:02 +0000
committerWerner Koch <[email protected]>2010-06-07 13:33:02 +0000
commitbbe388b5db35be6ffece8ebd42f11372af016763 (patch)
tree73e1fe9697b969be66bd89953125010e5721efe1 /common/exechelp.h
parentPrint --version etc via estream (diff)
downloadgnupg-bbe388b5db35be6ffece8ebd42f11372af016763.tar.gz
gnupg-bbe388b5db35be6ffece8ebd42f11372af016763.zip
Add unfinished gpgtar.
Collected changes and ports of bug fixes from stable.
Diffstat (limited to '')
-rw-r--r--common/exechelp.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/common/exechelp.h b/common/exechelp.h
index 168e779ba..56d0c1b9a 100644
--- a/common/exechelp.h
+++ b/common/exechelp.h
@@ -53,13 +53,14 @@ gpg_error_t gnupg_create_outbound_pipe (int filedes[2]);
/* Fork and exec the PGMNAME, connect the file descriptor of INFILE to
- stdin, write the output to OUTFILE, return a new stream in
- STATUSFILE for stderr and the pid of the process in PID. 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, that function will be called right before the
- exec. Calling gnupg_wait_process is required. Returns 0 on
- success or an error code.
+ stdin, write the output to OUTFILE. INFILE or PUTFILE may be NULL
+ to connect thenm to /dev/null. Returns a new stream in STATUSFILE
+ for stderr and the pid of the process in PID. 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, that function will be called right before the exec.
+ Calling gnupg_wait_process is required. Returns 0 on success or an
+ error code.
FLAGS is a bit vector: