Next: The term_ostream
class, Previous: The file_ostream
class, Up: Concrete ostream subclasses without styling [Contents][Index]
fd_ostream
classThe file_ostream
class supports output to a file descriptor. Its
type is ‘fd_ostream_t’. It is a subclass of ‘ostream_t’ that
adds no methods.
It can be instantiated through this function:
Creates an output stream referring to the file descriptor fd
.
filename
is used only for error messages.
Note: The resulting stream must be closed before fd
can be
closed.