UnixFDList
Object Hierarchy:
GLib.UnixFDList
GLib.UnixFDList
GLib.UnixFDList
GLib.Object
GLib.Object
GLib.Object->GLib.UnixFDList
Description:
[ CCode ( type_id = "g_unix_fd_list_get_type ()" ) ]public class UnixFDList : Object
A UnixFDList contains a list of file descriptors.
It owns the file descriptors that it contains, closing them when finalized.
It may be wrapped in a GUnixFDMessage
and sent over a Socket in the
g_socket_family_unix family by using send_message
and received using receive_message .
Before 2.74, `<gio/gunixfdlist.h>` belonged to the UNIX-specific GIO interfaces, thus you had to use the `gio-unix-2.0.pc`
pkg-config file when using it.
Since 2.74, the API is available for Windows.
Content:
Creation methods:
Methods:
public int @get (int index_) throws Error
Gets a file descriptor out of this .
public int append (int fd) throws Error
Adds a file descriptor to this .
public int get_length ()
Gets the length of this (ie: the
number of file descriptors contained within).
public unowned int [] peek_fds ()
Returns the array of file descriptors that is contained in this
object.
public int [] steal_fds ()
Returns the array of file descriptors that is contained in this
object.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref