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_get_child_for_display_name(GFile* file, const char* display_name,
                                         GError** error)
{
    GFileIface* iface;

    g_return_val_if_fail(G_IS_FILE(file), NULL);
    g_return_val_if_fail(display_name != NULL, NULL);

    iface = G_FILE_GET_IFACE(file);

    return (*iface->get_child_for_display_name)(file, display_name, error);
}
/**
 * g_file_get_child_for_display_name:
 * @file: input #GFile
 * @display_name: string to a possible child
 * @error: return location for an error
 *
 * Gets the child of @file for a given @display_name (i.e. a UTF-8
 * version of the name). If this function fails, it returns %NULL
 * and @error will be set. This is very useful when constructing a
 * #GFile for a new file and the user entered the filename in the
 * user interface, for instance when you select a directory and
 * type a filename in the file selector.
 *
 * This call does no blocking I/O.
 *
 * Returns: (transfer full): a #GFile to the specified child, or
 *     %NULL if the display name couldn't be converted.
 *     Free the returned object with g_object_unref().
 */
@file: input #GFile
@display_name: string to a possible child
@error: return location for an error

Gets the child of @file for a given @display_name . If this function fails, it returns %NULL
and @error will be set. This is very useful when constructing a
#GFile for a new file and the user entered the filename in the
user interface, for instance when you select a directory and
type a filename in the file selector.

This call does no blocking I/O.

(transfer full): a #GFile to the specified child, or
%NULL if the display name couldn't be converted.
Free the returned object with g_object_unref().
@file : input #GFile @display_name : string to a possible child @error : return location for an error Gets the child of @file for a given @display_name . If this function fails it returns %NULL and @error will be set . This is very useful when constructing a #GFile for a new file and the user entered the filename in the user interface for instance when you select a directory and type a filename in the file selector . This call does no blocking I / O . ( transfer full ) : a #GFile to the specified child or %NULL if the display name couldn ' t be converted . Free the returned object with g_object_unref () .
GFile* g_file_get_child_for_display_name(GFile* file, const char* display_name,
                                         GError** error)
{
    GFileIface* iface;
    g_return_val_if_fail(G_IS_FILE(file), NULL);
    g_return_val_if_fail(display_name != NULL, NULL);
    iface = G_FILE_GET_IFACE(file);
    return (*iface->get_child_for_display_name)(file, display_name, error);
}
GFile * g_file_get_child_for_display_name ( GFile * file , const char * display_name , GError * * error ) { GFileIface * iface ; g_return_val_if_fail ( G_IS_FILE ( file ) , NULL ) ; g_return_val_if_fail ( display_name != NULL , NULL ) ; iface = G_FILE_GET_IFACE ( file ) ; return ( * iface -> get_child_for_display_name ) ( file , display_name , error ) ; }
g_file_get_child_for_display_name:
 @file: input #GFile
 @display_name: string to a possible child
 @error: return location for an error
g_file_get_child_for_display_name : @file : input #GFile @display_name : string to a possible child @error : return location for an error