Package org.gnome.gio
Interface FileDescriptorBased
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
FileDescriptorBased.FileDescriptorBasedImpl
,UnixInputStream
,UnixOutputStream
GFileDescriptorBased
is an interface for file descriptor based IO.
It is implemented by streams (implementations of InputStream
or
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.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
An interface for file descriptor based io objects.static class
The FileDescriptorBasedImpl type represents a native instance of the FileDescriptorBased interface. -
Method Summary
-
Method Details
-
getType
-
getFd
default int getFd()Gets the underlying file descriptor.- Returns:
- The file descriptor
-