Package ghidra.pty.unix
Class FdOutputStream
java.lang.Object
java.io.OutputStream
ghidra.pty.unix.FdOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
An output stream that wraps a native POSIX file descriptor
WARNING: This class makes use of jnr-ffi to invoke native functions. An invalid file descriptor is generally detected, but an incorrect, but valid file descriptor may cause undefined behavior.
-
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-