diff options
Diffstat (limited to 'gpgme/w32-io.c')
-rw-r--r-- | gpgme/w32-io.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gpgme/w32-io.c b/gpgme/w32-io.c index 42c3132d..fd83e531 100644 --- a/gpgme/w32-io.c +++ b/gpgme/w32-io.c @@ -1091,6 +1091,16 @@ _gpgme_io_subsystem_init (void) } + +/* Write the printable version of FD to the buffer BUF of length + BUFLEN. The printable version is the representation on the command + line that the child process expects. */ +int +_gpgme_io_fd2str (char *buf, int buflen, int fd) +{ + return snprintf (buf, buflen, "%d", fd); +} + /* The following interface is only useful for GPGME Glib. */ |