Namespace

GLibUnix – 2.0

Unix-specific APIs in GLib

Version2.79.3
AuthorsGLib Development Team
LicenseLGPL-2.1-or-later
Websitehttps://www.gtk.org
Sourcehttps://gitlab.gnome.org/GNOME/glib/

Build

C headersglib-unix.h, glib.h
pkg-config filesglib-2.0

Dependencies

GLib—2.0 The base utility library
Browse documentation
GModule Portable API for dynamically loading modules
Browse documentation
GObject The base type system library
Browse documentation
GIO GObject Interfaces and Objects, Networking, IPC, and I/O
Browse documentation

Additional documentation

Structs

Pipe

A Unix pipe. The advantage of this type over int[2] is that it can be closed automatically when it goes out of scope, using g_auto(GUnixPipe), on compilers that support that feature.

unstable since: 2.80

Enumerations

PipeEnd

Mnemonic constants for the ends of a Unix pipe.

unstable since: 2.80

Callbacks

FDSourceFunc

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

since: 2.0

Functions

closefrom

since: 2.0

error_quark

since: 2.0

fd_add

since: 2.0

fd_add_full

since: 2.0

fd_source_new

since: 2.0

fdwalk_set_cloexec

since: 2.0

get_passwd_entry

since: 2.0

open_pipe

since: 2.0

set_fd_nonblocking

since: 2.0

signal_add

since: 2.0

signal_add_full

since: 2.0

signal_source_new

since: 2.0