diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 08:27:19 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 08:27:19 +0000 |
commit | 9811f28b0f5c5c1a6ed06479ae9d5a17766e4232 (patch) | |
tree | ca326e6d0428d2e78854ba3750a32c41035b274d /src | |
parent | 297f997f2d6a0e25c11acc83746cbed3c999bd47 (diff) | |
download | gnunet-9811f28b0f5c5c1a6ed06479ae9d5a17766e4232.tar.gz gnunet-9811f28b0f5c5c1a6ed06479ae9d5a17766e4232.zip |
0001602: A patch to fix process spawning with redirected std streams
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_disk_lib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 340c35a4e..b8df9d7b6 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h | |||
@@ -326,9 +326,13 @@ struct GNUNET_DISK_FileHandle *GNUNET_DISK_file_open (const char *fn, | |||
326 | /** | 326 | /** |
327 | * Creates an interprocess channel | 327 | * Creates an interprocess channel |
328 | * @param blocking creates an asynchronous pipe if set to GNUNET_NO | 328 | * @param blocking creates an asynchronous pipe if set to GNUNET_NO |
329 | * @param inherit_read 1 to make read handle inheritable, 0 otherwise (NT only) | ||
330 | * @param inherit_write 1 to make write handle inheritable, 0 otherwise (NT only) | ||
329 | * @return handle to the new pipe, NULL on error | 331 | * @return handle to the new pipe, NULL on error |
330 | */ | 332 | */ |
331 | struct GNUNET_DISK_PipeHandle *GNUNET_DISK_pipe (int blocking); | 333 | struct GNUNET_DISK_PipeHandle *GNUNET_DISK_pipe (int blocking, |
334 | int inherit_read, | ||
335 | int inherit_write); | ||
332 | 336 | ||
333 | 337 | ||
334 | /** | 338 | /** |