UNISTDX_IO_SYSSTREAM
class sys::osysstream

Output stream for standard file descriptors that uses basic_fildesbuf as stream buffer.

  • The stream is designed to be used with standard file descriptors 0, 1, 2.
  • Underlying file descriptor is not closed or flushed in stream destructor.

Base classes
  • public std::basic_ostream< char, std::char_traits< char > >
Methods
  • buf() const -> const fildesbuf_type &

    Get stream buffer.

  • buf() -> fildesbuf_type &

    Get stream buffer.

  • ~osysstream()
  • osysstream(fd_type fd, size_t psize)explicit

    Construct output stream with file descriptor fd and buffer size psize.

  • osysstream()