35 fd_writer::fd_writer(
int fd) :
writer(), m_fd(fd)
41 if (::
write(m_fd, s.c_str(), s.size()) == -1)
Simple proxy for write operations on various types of stream.
virtual void write(const std::string &s)
#define NAMESPACE
You can change the namespace of the whole library by changing this value.
Specific class of exceptions for IO errors of various types.
Common defs needed everywhere and, as far as is possible, platform specific changes.
The json_io_exception class.
The POSIX write() system call failed.