Struct
GLibUnixPipe
since: 2.80
Description [src]
struct GUnixPipe {
None fds;
}
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.
Structure members
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 indexG_UNIX_PIPE_END_WRITE
is writable.
Available since: 2.80