Method

GioFilecreate_finish

Declaration

GFileOutputStream*
g_file_create_finish (
  GFile* file,
  GAsyncResult* res,
  GError** error
)

Description

Finishes an asynchronous file create operation started with g_file_create_async().

Parameters

res GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GFileOutputStream
 

A GFileOutputStream or NULL on error. Free the returned object with g_object_unref().

 The caller of the method takes ownership of the data, and is responsible for freeing it.