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:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-