Method

GLibIOChannelread_unichar

Declaration

GIOStatus
g_io_channel_read_unichar (
  GIOChannel* channel,
  gunichar* thechar,
  GError** error
)

Description

Reads a Unicode character from channel. This function cannot be called on a channel with NULL encoding.

Parameters

thechar gunichar*
 

A location to return a character.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GIOStatus
 

A GIOStatus.