-code hygene
[oweals/gnunet.git] / src / include / gnunet_os_lib.h
index c5e2062928118c8bfd90ba69df71d3bd5aec46e3..f815c95cd726d950b01be867d64abeff272153f3 100644 (file)
@@ -391,18 +391,18 @@ GNUNET_OS_start_process_v (int pipe_control,
  * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags
  * @param lsocks array of listen sockets to dup systemd-style (or NULL);
  *         must be NULL on platforms where dup is not supported
- * @param first_arg name of the binary.  It is valid to have the arguments
+ * @param filename name of the binary.  It is valid to have the arguments
  *         in this string when they are separated by spaces.
  * @param ... more arguments.  Should be of type `char *`.  It is valid
  *         to have the arguments in these strings when they are separated by
- *         spaces.
+ *         spaces.  The last argument MUST be NULL.
  * @return pointer to process structure of the new process, NULL on error
  */
 struct GNUNET_OS_Process *
 GNUNET_OS_start_process_s (int pipe_control,
                            unsigned int std_inheritance,
                            const SOCKTYPE * lsocks,
-                           const char *first_arg, ...);
+                           const char *filename, ...);
 
 
 /**