struct GLib::UnixPipe
- GLib::UnixPipe
- Struct
- Value
- Object
Overview
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.
Defined in:
lib/gi-crystal/src/auto/g_lib-2.0/unix_pipe.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGLib::UnixPipe, _transfer : GICrystal::Transfer)
- .new(fds : Enumerable(Int32) | Nil = nil)