gi-glib-2.0.30: GLib bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GLib.Structs.UnixPipe

Description

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

Synopsis

Exported types

newtype UnixPipe Source #

Memory-managed wrapper type.

Constructors

UnixPipe (ManagedPtr UnixPipe) 

Instances

Instances details
Eq UnixPipe Source # 
Instance details

Defined in GI.GLib.Structs.UnixPipe

BoxedPtr UnixPipe Source # 
Instance details

Defined in GI.GLib.Structs.UnixPipe

CallocPtr UnixPipe Source # 
Instance details

Defined in GI.GLib.Structs.UnixPipe

ManagedPtrNewtype UnixPipe Source # 
Instance details

Defined in GI.GLib.Structs.UnixPipe

Methods

toManagedPtr :: UnixPipe -> ManagedPtr UnixPipe

tag ~ 'AttrSet => Constructible UnixPipe tag Source # 
Instance details

Defined in GI.GLib.Structs.UnixPipe

Methods

new :: MonadIO m => (ManagedPtr UnixPipe -> UnixPipe) -> [AttrOp UnixPipe tag] -> m UnixPipe

newZeroUnixPipe :: MonadIO m => m UnixPipe Source #

Construct a UnixPipe struct initialized to zero.

Methods