diff options
Diffstat (limited to 'gpgme/posix-io.c')
-rw-r--r-- | gpgme/posix-io.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gpgme/posix-io.c b/gpgme/posix-io.c index 4383cc6c..2e7e2c96 100644 --- a/gpgme/posix-io.c +++ b/gpgme/posix-io.c @@ -206,6 +206,12 @@ _gpgme_io_waitpid ( int pid, int hang, int *r_status, int *r_signal ) return 0; } +int +_gpgme_io_kill ( int pid, int hard ) +{ + return kill ( pid, hard? SIGKILL : SIGTERM ); +} + /* * Select on the list of fds. |