UnixFDList
Object Hierarchy:
Description:
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_address_unix family by using
send_message and received using 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.
Content:
Creation methods:
Methods:
- public int append (int fd) throws Error
Adds a file descriptor to this.
- public int @get (int index_) throws Error
Gets a file descriptor out of 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