Function
GLibunix_fd_source_new
Description
Creates a GSource
to watch for a particular IO condition on a file descriptor.
The source will never close the fd — you must do it yourself.
Available since: | 2.36 |
Parameters
fd |
gint |
A file descriptor. |
|
condition |
GIOCondition |
IO conditions to watch for on |
Return value
Returns: | GSource |
The newly created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |