Table of Contents

Class UnixFDList

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

Methods

Append(IntPtr, int, out ErrorOwnedHandle)

Calls native method g_unix_fd_list_append. Version: 2.24

[Version("2.24")]
public static extern int Append(IntPtr list, int fd, out ErrorOwnedHandle error)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

fd int

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

int

Transfer ownership: None Nullable: False

Get(IntPtr, int, out ErrorOwnedHandle)

Calls native method g_unix_fd_list_get. Version: 2.24

[Version("2.24")]
public static extern int Get(IntPtr list, int index, out ErrorOwnedHandle error)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

index int

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

int

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_unix_fd_list_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetLength(IntPtr)

Calls native method g_unix_fd_list_get_length. Version: 2.24

[Version("2.24")]
public static extern int GetLength(IntPtr list)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

New()

Calls native constructor g_unix_fd_list_new. Version: 2.24

[Version("2.24")]
public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

NewFromArray(ref int, int)

Calls native constructor g_unix_fd_list_new_from_array. Version: 2.24

[Version("2.24")]
public static extern IntPtr NewFromArray(ref int fds, int nFds)

Parameters

fds int

Transfer ownership: None Nullable: False

nFds int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

PeekFds(IntPtr, out int)

Calls native method g_unix_fd_list_peek_fds. Version: 2.24

[Version("2.24")]
public static extern int[] PeekFds(IntPtr list, out int length)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

length int

Transfer ownership: Full Nullable: False

Returns

int[]

Transfer ownership: None Nullable: False

StealFds(IntPtr, out int)

Calls native method g_unix_fd_list_steal_fds. Version: 2.24

[Version("2.24")]
public static extern int[] StealFds(IntPtr list, out int length)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

length int

Transfer ownership: Full Nullable: False

Returns

int[]

Transfer ownership: Full Nullable: False