Function

NumCosmoMathcfg_command_line

Declaration [src]

gchar*
ncm_cfg_command_line (
  gchar** argv,
  gint argc
)

Description [src]

Joins argv with spaces, quoting with single quotes the arguments that contain a space.

Parameters

argv

Type: gchar**

Array of strings.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
argc

Type: gint

Number of strings in argv.

Return value

Type: gchar*

The command line.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.