Function

GLibUnixFDSourceFunc

Declaration

gboolean
(* GUnixFDSourceFunc) (
  gint fd,
  GIOCondition condition,
  gpointer user_data
)

Description

The type of functions to be called when a UNIX fd watch source triggers.

Parameters

fd gint
 

The fd that triggered the event.

condition GIOCondition
 

The IO conditions reported on fd.

user_data gpointer
 

User data passed to g_unix_fd_add()

Return value

Returns: gboolean
 

FALSE if the source should be removed.