do_start_process.c | do_start_process.c | |||
---|---|---|---|---|
/** | /** | |||
* Actually start a process. All of the arguments given to this | * Actually start a process. All of the arguments given to this | |||
* function are strings that are used for the "argv" array. However, | * function are strings that are used for the "argv" array. However, | |||
* if those strings contain spaces, the given argument is split into | * if those strings contain spaces, the given argument is split into | |||
* multiple argv entries without spaces. Similarly, if an argument is | * multiple argv entries without spaces. Similarly, if an argument is | |||
* the empty string, it is skipped. This function has the inherent | * the empty string, it is skipped. This function has the inherent | |||
* limitation that it does NOT allow passing command line arguments | * limitation that it does NOT allow passing command line arguments | |||
* with spaces to the new process. | * with spaces to the new process. | |||
* | * | |||
* @param pipe_control should a pipe be used to send signals to the child? | ||||
* @param lsocks array of listen sockets to dup starting at fd3 (systemd-st yle), or NULL | * @param lsocks array of listen sockets to dup starting at fd3 (systemd-st yle), or NULL | |||
* @param first_arg first argument for argv (may be an empty string) | * @param first_arg first argument for argv (may be an empty string) | |||
* @param ... more arguments, NULL terminated | * @param ... more arguments, NULL terminated | |||
* @return handle of the started process, NULL on error | * @return handle of the started process, NULL on error | |||
*/ | */ | |||
static struct GNUNET_OS_Process * | static struct GNUNET_OS_Process * | |||
do_start_process (int pipe_control, | do_start_process (int pipe_control, | |||
const SOCKTYPE * lsocks, const char *first_arg, ...) | const SOCKTYPE * lsocks, const char *first_arg, ...) | |||
{ | { | |||
va_list ap; | va_list ap; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |