Table of Contents

Class UnixInputStream

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class UnixInputStream
Inheritance
UnixInputStream
Inherited Members

Methods

GetCloseFd(IntPtr)

Calls native method g_unix_input_stream_get_close_fd. Version: 2.20

[Version("2.20")]
public static extern bool GetCloseFd(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetFd(IntPtr)

Calls native method g_unix_input_stream_get_fd. Version: 2.20

[Version("2.20")]
public static extern int GetFd(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_unix_input_stream_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(int, bool)

Calls native constructor g_unix_input_stream_new.

public static extern IntPtr New(int fd, bool closeFd)

Parameters

fd int

Transfer ownership: None Nullable: False

closeFd bool

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetCloseFd(IntPtr, bool)

Calls native method g_unix_input_stream_set_close_fd. Version: 2.20

[Version("2.20")]
public static extern void SetCloseFd(IntPtr stream, bool closeFd)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

closeFd bool

Transfer ownership: None Nullable: False