gi-gio-2.0.11: Gio bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.FileDescriptorBased

Contents

Description

FileDescriptorBased is implemented by streams (implementations of InputStream or OutputStream) that are based on file descriptors.

Note that <gio/gfiledescriptorbased.h> belongs to the UNIX-specific GIO interfaces, thus you have to use the gio-unix-2.0.pc pkg-config file when using it.

Synopsis

Exported types

Methods

getFd

fileDescriptorBasedGetFd Source #

Arguments

:: (HasCallStack, MonadIO m, IsFileDescriptorBased a) 
=> a

fdBased: a FileDescriptorBased.

-> m Int32

Returns: The file descriptor

Gets the underlying file descriptor.

Since: 2.24