Gio.UnixFDList
const Gio = imports.gi.Gio; let unixFDList = new Gio.UnixFDList();
A Gio.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 Gio.UnixFDMessage and sent over a Gio.Socket in the %G_SOCKET_ADDRESS_UNIX family by using Gio.Socket.prototype.send_message and received using Gio.Socket.prototype.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.
Hierarchy
-
GObject.Object
- Gio.UnixFDList