UnixFDList.this

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.

  1. this(GUnixFDList* gUnixFDList, bool ownedRef)
  2. this()
  3. this(int[] fds)
    class UnixFDList
    this
    (
    int[] fds
    )

Parameters

fds int[]

the initial list of file descriptors

Return Value

a new #GUnixFDList

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.24