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_and_cwd(const gchar* arg,
                                              const gchar* cwd)
{
    g_return_val_if_fail(arg != NULL, NULL);
    g_return_val_if_fail(cwd != NULL, NULL);

    return new_for_cmdline_arg(arg, cwd);
}
/**
 * g_file_new_for_commandline_arg_and_cwd:
 * @arg: (type filename): a command line string
 * @cwd: (type filename): the current working directory of the commandline
 *
 * Creates a #GFile with the given argument from the command line.
 *
 * This function is similar to g_file_new_for_commandline_arg() except
 * that it allows for passing the current working directory as an
 * argument instead of using the current working directory of the
 * process.
 *
 * This is useful if the commandline argument was given in a context
 * other than the invocation of the current process.
 *
 * See also g_application_command_line_create_file_for_arg().
 *
 * Returns: (transfer full): a new #GFile
 *
 * Since: 2.36
 **/
@arg: (type filename): a command line string
@cwd: (type filename): the current working directory of the commandline

Creates a #GFile with the given argument from the command line.

This function is similar to g_file_new_for_commandline_arg() except
that it allows for passing the current working directory as an
argument instead of using the current working directory of the
process.

This is useful if the commandline argument was given in a context
other than the invocation of the current process.



(transfer full): a new #GFile


@arg : ( type filename ) : a command line string @cwd : ( type filename ) : the current working directory of the commandline Creates a #GFile with the given argument from the command line . This function is similar to g_file_new_for_commandline_arg () except that it allows for passing the current working directory as an argument instead of using the current working directory of the process . This is useful if the commandline argument was given in a context other than the invocation of the current process . ( transfer full ) : a new #GFile
GFile* g_file_new_for_commandline_arg_and_cwd(const gchar* arg,
                                              const gchar* cwd)
{
    g_return_val_if_fail(arg != NULL, NULL);
    g_return_val_if_fail(cwd != NULL, NULL);
    return new_for_cmdline_arg(arg, cwd);
}
GFile * g_file_new_for_commandline_arg_and_cwd ( const gchar * arg , const gchar * cwd ) { g_return_val_if_fail ( arg != NULL , NULL ) ; g_return_val_if_fail ( cwd != NULL , NULL ) ; return new_for_cmdline_arg ( arg , cwd ) ; }
g_file_new_for_commandline_arg_and_cwd:
 @arg: (type filename): a command line string
 @cwd: (type filename): the current working directory of the commandline
g_file_new_for_commandline_arg_and_cwd : @arg : ( type filename ) : a command line string @cwd : ( type filename ) : the current working directory of the commandline