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
void g_file_create_readwrite_async(GFile* file, GFileCreateFlags flags,
                                   int io_priority, GCancellable* cancellable,
                                   GAsyncReadyCallback callback,
                                   gpointer user_data)
{
    GFileIface* iface;

    g_return_if_fail(G_IS_FILE(file));

    iface = G_FILE_GET_IFACE(file);
    (*iface->create_readwrite_async)(file, flags, io_priority, cancellable,
                                     callback, user_data);
}
/**
 * g_file_create_readwrite_async:
 * @file: input #GFile
 * @flags: a set of #GFileCreateFlags
 * @io_priority: the [I/O priority][io-priority] of the request
 * @cancellable: (nullable): optional #GCancellable object,
 *     %NULL to ignore
 * @callback: (scope async): a #GAsyncReadyCallback to call
 *     when the request is satisfied
 * @user_data: (closure): the data to pass to callback function
 *
 * Asynchronously creates a new file and returns a stream
 * for reading and writing to it. The file must not already exist.
 *
 * For more details, see g_file_create_readwrite() which is
 * the synchronous version of this call.
 *
 * When the operation is finished, @callback will be called.
 * You can then call g_file_create_readwrite_finish() to get
 * the result of the operation.
 *
 * Since: 2.22
 */


Asynchronously creates a new file and returns a stream
for reading and writing to it. The file must not already exist.

For more details, see g_file_create_readwrite() which is
the synchronous version of this call.

When the operation is finished, @callback will be called.
You can then call g_file_create_readwrite_finish() to get
the result of the operation.


Asynchronously creates a new file and returns a stream for reading and writing to it . The file must not already exist . For more details see g_file_create_readwrite () which is the synchronous version of this call . When the operation is finished @callback will be called . You can then call g_file_create_readwrite_finish () to get the result of the operation .
void g_file_create_readwrite_async(GFile* file, GFileCreateFlags flags,
                                   int io_priority, GCancellable* cancellable,
                                   GAsyncReadyCallback callback,
                                   gpointer user_data)
{
    GFileIface* iface;
    g_return_if_fail(G_IS_FILE(file));
    iface = G_FILE_GET_IFACE(file);
    (*iface->create_readwrite_async)(file, flags, io_priority, cancellable,
                                     callback, user_data);
}
void g_file_create_readwrite_async ( GFile * file , GFileCreateFlags flags , int io_priority , GCancellable * cancellable , GAsyncReadyCallback callback , gpointer user_data ) { GFileIface * iface ; g_return_if_fail ( G_IS_FILE ( file ) ) ; iface = G_FILE_GET_IFACE ( file ) ; ( * iface -> create_readwrite_async ) ( file , flags , io_priority , cancellable , callback , user_data ) ; }
g_file_create_readwrite_async:
 @file: input #GFile
 @flags: a set of #GFileCreateFlags
 @io_priority: the [I/O priority][io-priority] of the request
 @cancellable: (nullable): optional #GCancellable object,
     %NULL to ignore
 @callback: (scope async): a #GAsyncReadyCallback to call
     when the request is satisfied
 @user_data: (closure): the data to pass to callback function
g_file_create_readwrite_async : @file : input #GFile @flags : a set of #GFileCreateFlags @io_priority : the [ I / O priority ] [ io - priority ] of the request @cancellable : ( nullable ) : optional #GCancellable object %NULL to ignore @callback : ( scope async ) : a #GAsyncReadyCallback to call when the request is satisfied @user_data : ( closure ) : the data to pass to callback function