Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
GUnixPipe Struct Reference

#include <glib-unix.h>

Data Fields

int fds [2]
 

Detailed Description

GUnixPipe: @fds: A pair of file descriptors, each negative if closed or not yet opened. The file descriptor with index G_UNIX_PIPE_END_READ is readable. The file descriptor with index G_UNIX_PIPE_END_WRITE is writable.

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

Definition at line 138 of file glib-unix.h.

Field Documentation

◆ fds

int GUnixPipe::fds[2]

The documentation for this struct was generated from the following file: