GLib.Unix
Description:
Content:
Classes:
- SignalSource - The `GSource` struct is an opaque data type representing an event source.
Functions:
- public bool open_pipe (int[] fds, int flags) throws Error
Similar to the UNIX pipe call, but on modern systems like Linux uses the
pipe2
system call, which atomically creates a pipe with the configured flags. - public bool set_fd_nonblocking (int fd, bool nonblock) throws Error
Control the non-blocking state of the given file descriptor, according to
nonblock
. - public uint signal_add (int signum, owned SourceFunc handler, int priority = DEFAULT)
A convenience function for SignalSource, which attaches to the default MainContext.