struct GLib::UnixPipe

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.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(data : LibGLib::UnixPipe, _transfer : GICrystal::Transfer) #

def self.new(fds : Enumerable(Int32) | Nil = nil) #

Instance Method Detail

def ==(other : self) : Bool #

def fds(*args, **options) #

def fds(*args, **options, &) #

def fds=(arg) #