#include <safe_ofstream.hh>
Basic operations | |
SafeOFStreamBuf (const int f) | |
Public Attributes | |
int | fd |
Our file descriptor. | |
Protected Member Functions | |
virtual int_type | overflow (int_type c) |
virtual std::streamsize | xsputn (const char *s, std::streamsize num) |
See TCppSL Ch. 13.13 for what we're doing here. The buffer code is based upon the "io/outbuf2.hpp" example in section 13.13.3.