Table of Contents

Class UnixFDMessage

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

Methods

AppendFd(IntPtr, int, out ErrorOwnedHandle)

Calls native method g_unix_fd_message_append_fd. Version: 2.22

[Version("2.22")]
public static extern bool AppendFd(IntPtr message, int fd, out ErrorOwnedHandle error)

Parameters

message IntPtr

Transfer ownership: None Nullable: False

fd int

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

GetFdList(IntPtr)

Calls native method g_unix_fd_message_get_fd_list. Version: 2.24

[Version("2.24")]
public static extern IntPtr GetFdList(IntPtr message)

Parameters

message IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_unix_fd_message_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New()

Calls native constructor g_unix_fd_message_new. Version: 2.22

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

Returns

IntPtr

Transfer ownership: Full Nullable: False

NewWithFdList(IntPtr)

Calls native constructor g_unix_fd_message_new_with_fd_list. Version: 2.24

[Version("2.24")]
public static extern IntPtr NewWithFdList(IntPtr fdList)

Parameters

fdList IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

StealFds(IntPtr, out int)

Calls native method g_unix_fd_message_steal_fds. Version: 2.22

[Version("2.22")]
public static extern int[] StealFds(IntPtr message, out int length)

Parameters

message IntPtr

Transfer ownership: None Nullable: False

length int

Transfer ownership: Full Nullable: False

Returns

int[]

Transfer ownership: Full Nullable: False