Class
GioUnixFDList
Description
class Gio.UnixFDList : GObject.Object {
parent_instance: GObject,
priv: GUnixFDListPrivate*
}
A GUnixFDList
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 GSocket
in
the G_SOCKET_FAMILY_UNIX
family by using g_socket_send_message()
and received using g_socket_receive_message().
Note that <gio/gunixfdlist.h>
belongs to the UNIX-specific GIO
interfaces, thus you have to use the gio-unix-2.0.pc
pkg-config
file when using it.
Constructors
g_unix_fd_list_new_from_array
Creates a new GUnixFDList
containing the file descriptors given in
fds
. The file descriptors become the property of the new list and
may no longer be used by the caller. The array itself is owned by
the caller.
Available since: 2.24
Instance methods
g_unix_fd_list_get_length
Gets the length of list
(ie: the number of file descriptors
contained within).
Available since: 2.24
g_unix_fd_list_peek_fds
Returns the array of file descriptors that is contained in this object.
Available since: 2.24
g_unix_fd_list_steal_fds
Returns the array of file descriptors that is contained in this object.
Available since: 2.24
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct GioUnixFDListClass {
GObjectClass parent_class;
void (* _g_reserved1) (
void
);
void (* _g_reserved2) (
void
);
void (* _g_reserved3) (
void
);
void (* _g_reserved4) (
void
);
void (* _g_reserved5) (
void
);
}
Class members
parent_class |
|
No description available. | |
_g_reserved1 |
|
No description available. | |
_g_reserved2 |
|
No description available. | |
_g_reserved3 |
|
No description available. | |
_g_reserved4 |
|
No description available. | |
_g_reserved5 |
|
No description available. |