mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: New helper function gnupg_close_pipe.
* common/exechelp-posix.c (gnupg_close_pipe): New. * common/exechelp-w32.c (gnupg_close_pipe): New. -- This function is mainly for documentation purposes and should be used along with gnupg_create_pipe. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
2cd8bae23d
commit
2042f5a464
3 changed files with 21 additions and 0 deletions
|
@ -69,6 +69,9 @@ gpg_error_t gnupg_create_outbound_pipe (int filedes[2],
|
|||
inheritable. */
|
||||
gpg_error_t gnupg_create_pipe (int filedes[2]);
|
||||
|
||||
/* Close the end of a pipe. */
|
||||
void gnupg_close_pipe (int fd);
|
||||
|
||||
|
||||
#define GNUPG_SPAWN_NONBLOCK 16
|
||||
#define GNUPG_SPAWN_RUN_ASFW 64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue