UnixUtils.fdSourceNew

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. Since 2.36

class UnixUtils
static
fdSourceNew

Parameters

fd int

a file descriptor

condition GIOCondition

IO conditions to watch for on fd

Return Value

Type: Source

the newly created GSource

Meta