Table of Contents

Class UnixOutputStream

Namespace
Gio
Assembly
Gio-2.0.dll
public class UnixOutputStream : OutputStream, IObject, INotifyPropertyChanged, IDisposable, FileDescriptorBased, PollableOutputStream, IHandle, GTypeProvider
Inheritance
UnixOutputStream
Implements
Inherited Members

Constructors

UnixOutputStream(bool, params ConstructArgument[])

protected UnixOutputStream(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

UnixOutputStream(IntPtr, bool)

protected UnixOutputStream(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

CloseFdPropertyDefinition

public static readonly Property<bool, UnixOutputStream> CloseFdPropertyDefinition

Field Value

Property<bool, UnixOutputStream>

FdPropertyDefinition

public static readonly Property<int, UnixOutputStream> FdPropertyDefinition

Field Value

Property<int, UnixOutputStream>

Properties

CloseFd

public bool CloseFd { get; set; }

Property Value

bool

Fd

public int Fd { get; }

Property Value

int

Methods

CanPoll()

[Version("2.28")]
public bool CanPoll()

Returns

bool

CreateSource(Cancellable?)

[Version("2.28")]
public Source CreateSource(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

Source

GetCloseFd()

[Version("2.20")]
public bool GetCloseFd()

Returns

bool

GetFd()

[Version("2.20")]
public int GetFd()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

IsWritable()

[Version("2.28")]
public bool IsWritable()

Returns

bool

New(int, bool)

public static UnixOutputStream New(int fd, bool closeFd)

Parameters

fd int
closeFd bool

Returns

UnixOutputStream

SetCloseFd(bool)

[Version("2.20")]
public void SetCloseFd(bool closeFd)

Parameters

closeFd bool

WriteNonblocking(Span<byte>, Cancellable?)

public long WriteNonblocking(Span<byte> buffer, Cancellable? cancellable)

Parameters

buffer Span<byte>
cancellable Cancellable

Returns

long

WritevNonblocking(OutputVector[], out nuint, Cancellable?)

[Version("2.60")]
public PollableReturn WritevNonblocking(OutputVector[] vectors, out nuint bytesWritten, Cancellable? cancellable)

Parameters

vectors OutputVector[]
bytesWritten nuint
cancellable Cancellable

Returns

PollableReturn