GObject.Object
Gio.UnixFDList
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GUnixFDList |
Class : | UnixFDList |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent_instance : GObject.Object
read only
|
Gio.UnixFDList | |
priv : Gio.UnixFDListPrivate
read only
|
Gio.UnixFDList |
Method / Constructor | Defined By | |
---|---|---|
new Gio.UnixFDList
(Object properties)
Create a new Gio.UnixFDList
Create a new Gio.UnixFDList
|
||
Create a new Gio.UnixFDList
Create a new Gio.UnixFDList
|
||
Adds a file descriptor to list.
Adds a file descriptor to list.
The file descriptor is duplicated using dup(). You keep your copy of the descriptor and the copy contained in list will be closed when list is finalized. A possible cause of failure is exceeding the per-process or system-wide file descriptor limit. The index of the file descriptor in the list is returned. If you use this index with g_unix_fd_list_get() then you will receive back a duplicated copy of the same file descriptor. (and error is set)
|
Gio.UnixFDList | |
Gets a file descriptor out of list.
Gets a file descriptor out of list.
programmer error for index_ to be out of range; see g_unix_fd_list_get_length(). The file descriptor is duplicated using dup() and set as close-on-exec before being returned. You must call close() on it when you are done. A possible cause of failure is exceeding the per-process or system-wide file descriptor limit.
|
Gio.UnixFDList | |
get_length
()
:
gint32
contained within).
contained within).
|
Gio.UnixFDList | |
Returns the array of file descriptors that is contained in this
object.
Returns the array of file descriptors that is contained in this
object. After this call, the descriptors remain the property of list. The caller must not close them and must not free the array. The array is valid only until list is changed in any way. If length is non-NULL then it is set to the number of file descriptors in the returned array. The returned array is also terminated with -1. This function never returns NULL. In case there are no file descriptors contained in list, an empty array is returned. descriptors
|
Gio.UnixFDList | |
Returns the array of file descriptors that is contained in this
object.
Returns the array of file descriptors that is contained in this
object. After this call, the descriptors are no longer contained in descriptors have been added). The return result of this function must be freed with g_free(). The caller is also responsible for closing all of the file descriptors. The file descriptors in the array are set to close-on-exec. If length is non-NULL then it is set to the number of file descriptors in the returned array. The returned array is also terminated with -1. This function never returns NULL. In case there are no file descriptors contained in list, an empty array is returned. descriptors
|
Gio.UnixFDList |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.DBusMessage
Method |
get_unix_fd_list
()
:
Gio.UnixFDList
Gets the UNIX file descriptors associated with message, if any.
|
Gio.DBusMessage
Method |
set_unix_fd_list
(UnixFDList fd_list)
:
none
Sets the UNIX file descriptors associated with message.
|
Gio.UnixFDMessage
Property |
fd_list : Gio.UnixFDList
|
Gio.UnixFDMessage
Method |
Create a new Gio.UnixFDMessage
|
Gio.UnixFDMessage
Method |
get_fd_list
()
:
Gio.UnixFDList
Gets the GUnixFDList contained in message.
|