UnixFDList.newFromArray
gio.unix_fdlist.UnixFDList newFromArray(int[] fds)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.
Each file descriptor in the array should be set to close-on-exec.
If n_fds is -1 then fds must be terminated with -1.
Parameters
fds | the initial list of file descriptors |
Returns
a new #GUnixFDList