Description Usage Arguments Details Value Author(s)
Gets the file descriptor for a cancellable job. This can be used to
implement cancellable operations on Unix systems. The returned fd will
turn readable when cancellable
is cancelled.
1 | gCancellableGetFd(object)
|
|
a |
You are not supposed to read from the fd yourself, just check for
readable status. Reading to unset the readable status is done
with gCancellableReset
.
After a successful return from this function, you should use
gCancellableReleaseFd
to free up resources allocated for
the returned file descriptor.
See also gCancellableMakePollfd()
.
[integer] A valid file descriptor. -1
if the file descriptor
is not supported, or on errors.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.