Method

GioUnixConnectionreceive_credentials_finish

Declaration

GCredentials*
g_unix_connection_receive_credentials_finish (
  GUnixConnection* connection,
  GAsyncResult* result,
  GError** error
)

Description

Finishes an asynchronous receive credentials operation started with g_unix_connection_receive_credentials_async().

Available since:2.32

Parameters

result 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: GCredentials
 

A GCredentials, 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.