openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glib-2.0/1_2.60.3-r0/glib-2.60.3/gio/gfile.c
GFile* g_file_new_for_commandline_arg(const char* arg)
{
    g_return_val_if_fail(arg != NULL, NULL);

    return new_for_cmdline_arg(arg, NULL);
}
/**
 * g_file_new_for_commandline_arg:
 * @arg: (type filename): a command line string
 *
 * Creates a #GFile with the given argument from the command line.
 * The value of @arg can be either a URI, an absolute path or a
 * relative path resolved relative to the current working directory.
 * This operation never fails, but the returned object might not
 * support any I/O operation if @arg points to a malformed path.
 *
 * Note that on Windows, this function expects its argument to be in
 * UTF-8 -- not the system code page.  This means that you
 * should not use this function with string from argv as it is passed
 * to main().  g_win32_get_command_line() will return a UTF-8 version of
 * the commandline.  #GApplication also uses UTF-8 but
 * g_application_command_line_create_file_for_arg() may be more useful
 * for you there.  It is also always possible to use this function with
 * #GOptionContext arguments of type %G_OPTION_ARG_FILENAME.
 *
 * Returns: (transfer full): a new #GFile.
 *    Free the returned object with g_object_unref().
 */
@arg: (type filename): a command line string

Creates a #GFile with the given argument from the command line.
The value of @arg can be either a URI, an absolute path or a
relative path resolved relative to the current working directory.
This operation never fails, but the returned object might not
support any I/O operation if @arg points to a malformed path.

Note that on Windows, this function expects its argument to be in
UTF-8 -- not the system code page.  This means that you
should not use this function with string from argv as it is passed
to main().  g_win32_get_command_line() will return a UTF-8 version of
the commandline.  #GApplication also uses UTF-8 but
g_application_command_line_create_file_for_arg() may be more useful
for you there.  It is also always possible to use this function with
#GOptionContext arguments of type %G_OPTION_ARG_FILENAME.

(transfer full): a new #GFile.
Free the returned object with g_object_unref().
@arg : ( type filename ) : a command line string Creates a #GFile with the given argument from the command line . The value of @arg can be either a URI an absolute path or a relative path resolved relative to the current working directory . This operation never fails but the returned object might not support any I / O operation if @arg points to a malformed path . Note that on Windows this function expects its argument to be in UTF - 8 -- not the system code page . This means that you should not use this function with string from argv as it is passed to main () . g_win32_get_command_line () will return a UTF - 8 version of the commandline . #GApplication also uses UTF - 8 but g_application_command_line_create_file_for_arg () may be more useful for you there . It is also always possible to use this function with #GOptionContext arguments of type %G_OPTION_ARG_FILENAME . ( transfer full ) : a new #GFile . Free the returned object with g_object_unref () .
GFile* g_file_new_for_commandline_arg(const char* arg)
{
    g_return_val_if_fail(arg != NULL, NULL);
    return new_for_cmdline_arg(arg, NULL);
}
GFile * g_file_new_for_commandline_arg ( const char * arg ) { g_return_val_if_fail ( arg != NULL , NULL ) ; return new_for_cmdline_arg ( arg , NULL ) ; }
g_file_new_for_commandline_arg:
 @arg: (type filename): a command line string
g_file_new_for_commandline_arg : @arg : ( type filename ) : a command line string