1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme.

Set the line length back to the old value.
This commit is contained in:
Werner Koch 2001-11-24 21:20:22 +00:00
parent d3a626ba68
commit 2be29a3cd2
4 changed files with 13 additions and 1 deletions

View file

@ -127,3 +127,9 @@ assuan_pipe_disconnect (ASSUAN_CONTEXT ctx)
waitpid (ctx->pid, NULL, 0); /* FIXME Check return value. */
assuan_deinit_pipe_server (ctx);
}
pid_t
assuan_get_pid (ASSUAN_CONTEXT ctx)
{
return ctx ? ctx->pid : -1;
}