aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_os_lib.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2014-02-20 10:35:33 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2014-02-20 10:35:33 +0000
commit2a35e345a204cb357361406f28e07bf9076cb092 (patch)
tree8c51b5dae07a1f3a3a6a13ac6c623e0b0df2a070 /src/include/gnunet_os_lib.h
parenta06237deeec4aed38b09f633d7ebbeabb7da4c03 (diff)
downloadgnunet-2a35e345a204cb357361406f28e07bf9076cb092.tar.gz
gnunet-2a35e345a204cb357361406f28e07bf9076cb092.zip
Allow redirection of STDERR when starting processes.
Diffstat (limited to 'src/include/gnunet_os_lib.h')
-rw-r--r--src/include/gnunet_os_lib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h
index f815c95cd..56c66fcdb 100644
--- a/src/include/gnunet_os_lib.h
+++ b/src/include/gnunet_os_lib.h
@@ -310,6 +310,7 @@ GNUNET_OS_process_get_pid (struct GNUNET_OS_Process *proc);
310 * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags 310 * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags
311 * @param pipe_stdin pipe to use to send input to child process (or NULL) 311 * @param pipe_stdin pipe to use to send input to child process (or NULL)
312 * @param pipe_stdout pipe to use to get output from child process (or NULL) 312 * @param pipe_stdout pipe to use to get output from child process (or NULL)
313 * @param pipe_stderr pipe to use to get error output from child process (or NULL)
313 * @param filename name of the binary 314 * @param filename name of the binary
314 * @param argv NULL-terminated array of arguments to the process 315 * @param argv NULL-terminated array of arguments to the process
315 * @return pointer to process structure of the new process, NULL on error 316 * @return pointer to process structure of the new process, NULL on error
@@ -319,6 +320,7 @@ GNUNET_OS_start_process_vap (int pipe_control,
319 enum GNUNET_OS_InheritStdioFlags std_inheritance, 320 enum GNUNET_OS_InheritStdioFlags std_inheritance,
320 struct GNUNET_DISK_PipeHandle *pipe_stdin, 321 struct GNUNET_DISK_PipeHandle *pipe_stdin,
321 struct GNUNET_DISK_PipeHandle *pipe_stdout, 322 struct GNUNET_DISK_PipeHandle *pipe_stdout,
323 struct GNUNET_DISK_PipeHandle *pipe_stderr,
322 const char *filename, 324 const char *filename,
323 char *const argv[]); 325 char *const argv[]);
324 326
@@ -330,6 +332,7 @@ GNUNET_OS_start_process_vap (int pipe_control,
330 * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags 332 * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags
331 * @param pipe_stdin pipe to use to send input to child process (or NULL) 333 * @param pipe_stdin pipe to use to send input to child process (or NULL)
332 * @param pipe_stdout pipe to use to get output from child process (or NULL) 334 * @param pipe_stdout pipe to use to get output from child process (or NULL)
335 * @param pipe_stderr pipe to use to get error output from child process (or NULL)
333 * @param filename name of the binary 336 * @param filename name of the binary
334 * @param ... NULL-terminated list of arguments to the process 337 * @param ... NULL-terminated list of arguments to the process
335 * @return pointer to process structure of the new process, NULL on error 338 * @return pointer to process structure of the new process, NULL on error
@@ -339,6 +342,7 @@ GNUNET_OS_start_process (int pipe_control,
339 enum GNUNET_OS_InheritStdioFlags std_inheritance, 342 enum GNUNET_OS_InheritStdioFlags std_inheritance,
340 struct GNUNET_DISK_PipeHandle *pipe_stdin, 343 struct GNUNET_DISK_PipeHandle *pipe_stdin,
341 struct GNUNET_DISK_PipeHandle *pipe_stdout, 344 struct GNUNET_DISK_PipeHandle *pipe_stdout,
345 struct GNUNET_DISK_PipeHandle *pipe_stderr,
342 const char *filename, ...); 346 const char *filename, ...);
343 347
344 348
@@ -349,6 +353,7 @@ GNUNET_OS_start_process (int pipe_control,
349 * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags 353 * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags
350 * @param pipe_stdin pipe to use to send input to child process (or NULL) 354 * @param pipe_stdin pipe to use to send input to child process (or NULL)
351 * @param pipe_stdout pipe to use to get output from child process (or NULL) 355 * @param pipe_stdout pipe to use to get output from child process (or NULL)
356 * @param pipe_stderr pipe to use to get error output from child process (or NULL)
352 * @param filename name of the binary 357 * @param filename name of the binary
353 * @param va NULL-terminated list of arguments to the process 358 * @param va NULL-terminated list of arguments to the process
354 * @return pointer to process structure of the new process, NULL on error 359 * @return pointer to process structure of the new process, NULL on error
@@ -358,6 +363,7 @@ GNUNET_OS_start_process_va (int pipe_control,
358 enum GNUNET_OS_InheritStdioFlags std_inheritance, 363 enum GNUNET_OS_InheritStdioFlags std_inheritance,
359 struct GNUNET_DISK_PipeHandle *pipe_stdin, 364 struct GNUNET_DISK_PipeHandle *pipe_stdin,
360 struct GNUNET_DISK_PipeHandle *pipe_stdout, 365 struct GNUNET_DISK_PipeHandle *pipe_stdout,
366 struct GNUNET_DISK_PipeHandle *pipe_stderr,
361 const char *filename, va_list va); 367 const char *filename, va_list va);
362 368
363/** 369/**