Namespace

GLibUnix – 2.0

Unix-specific APIs in GLib

Version2.83.2
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.

since: 2.80

Enumerations

PipeEnd

Mnemonic constants for the ends of a Unix pipe.

since: 2.80

Callbacks

FDSourceFunc

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