Module: Gio::FileDescriptorBased
- Defined in:
- (unknown)
Overview
GFileDescriptorBased is an interface for file descriptor based IO.
It is implemented by streams (implementations of [classGio.InputStream] or [classGio.OutputStream]) that are based on file descriptors.
Note that <gio/gfiledescriptorbased.h> belongs to the UNIX-specific
GIO interfaces, thus you have to use the gio-unix-2.0.pc pkg-config
file or the GioUnix-2.0 GIR namespace when using it.
Instance Method Summary collapse
-
#fd ⇒ Integer
Gets the underlying file descriptor.
-
#get_fd(fd_based) ⇒ Integer
The file descriptor.
Instance Method Details
#fd ⇒ Integer
Gets the underlying file descriptor.
#get_fd(fd_based) ⇒ Integer
Returns The file descriptor.