diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-12-09 14:44:37 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-12-09 14:44:37 +0000 |
commit | b2764bcb9e08d2ac3a1199adc70b731fdf802460 (patch) | |
tree | 0f96b00f208a3e898abff91a300eabe346421a52 /src/util/os_priority.c | |
parent | 8391d0a43629578c11f3044fdc3d9994a99a4682 (diff) | |
download | gnunet-b2764bcb9e08d2ac3a1199adc70b731fdf802460.tar.gz gnunet-b2764bcb9e08d2ac3a1199adc70b731fdf802460.zip |
-doxygen
Diffstat (limited to 'src/util/os_priority.c')
-rw-r--r-- | src/util/os_priority.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index de5c84d4c..83fccb71d 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -1343,14 +1343,14 @@ GNUNET_OS_start_process_v (int pipe_control, | |||
1343 | * in this string when they are separated by spaces. | 1343 | * in this string when they are separated by spaces. |
1344 | * @param ... more arguments. Should be of type `char *`. It is valid | 1344 | * @param ... more arguments. Should be of type `char *`. It is valid |
1345 | * to have the arguments in these strings when they are separated by | 1345 | * to have the arguments in these strings when they are separated by |
1346 | * spaces. | 1346 | * spaces. The last argument MUST be NULL. |
1347 | * @return pointer to process structure of the new process, NULL on error | 1347 | * @return pointer to process structure of the new process, NULL on error |
1348 | */ | 1348 | */ |
1349 | struct GNUNET_OS_Process * | 1349 | struct GNUNET_OS_Process * |
1350 | GNUNET_OS_start_process_s (int pipe_control, | 1350 | GNUNET_OS_start_process_s (int pipe_control, |
1351 | unsigned int std_inheritance, | 1351 | unsigned int std_inheritance, |
1352 | const SOCKTYPE * lsocks, | 1352 | const SOCKTYPE * lsocks, |
1353 | const char *first_arg, ...) | 1353 | const char *filename, ...) |
1354 | { | 1354 | { |
1355 | va_list ap; | 1355 | va_list ap; |
1356 | char **argv; | 1356 | char **argv; |
@@ -1367,8 +1367,8 @@ GNUNET_OS_start_process_s (int pipe_control, | |||
1367 | size_t len; | 1367 | size_t len; |
1368 | 1368 | ||
1369 | argv_size = 1; | 1369 | argv_size = 1; |
1370 | va_start (ap, first_arg); | 1370 | va_start (ap, filename); |
1371 | arg = first_arg; | 1371 | arg = filename; |
1372 | last = NULL; | 1372 | last = NULL; |
1373 | do | 1373 | do |
1374 | { | 1374 | { |
@@ -1405,8 +1405,8 @@ GNUNET_OS_start_process_s (int pipe_control, | |||
1405 | 1405 | ||
1406 | argv = GNUNET_malloc (argv_size * sizeof (char *)); | 1406 | argv = GNUNET_malloc (argv_size * sizeof (char *)); |
1407 | argv_size = 0; | 1407 | argv_size = 0; |
1408 | va_start (ap, first_arg); | 1408 | va_start (ap, filename); |
1409 | arg = first_arg; | 1409 | arg = filename; |
1410 | last = NULL; | 1410 | last = NULL; |
1411 | do | 1411 | do |
1412 | { | 1412 | { |