#include <fdstream.h>
Public Member Functions | |
fdstreambuf (int _fd) | |
Protected Member Functions | |
virtual int_type | underflow () |
virtual int_type | overflow (int_type c) |
virtual std::streamsize | xsputn (const char *s, std::streamsize num) |
Protected Attributes | |
int | fd |
char | buffer [bufSize+pbSize] |
Static Protected Attributes | |
static const int | pbSize = 4 |
static const int | bufSize = 1024 |
Definition at line 58 of file fdstream.h.
fdstreambuf::fdstreambuf | ( | int | _fd | ) | [inline] |
virtual int_type fdstreambuf::overflow | ( | int_type | c | ) | [inline, protected, virtual] |
Definition at line 128 of file fdstream.h.
References EOF, fd, and write().
virtual int_type fdstreambuf::underflow | ( | ) | [inline, protected, virtual] |
virtual std::streamsize fdstreambuf::xsputn | ( | const char * | s, | |
std::streamsize | num | |||
) | [inline, protected, virtual] |
char fdstreambuf::buffer[bufSize+pbSize] [protected] |
const int fdstreambuf::bufSize = 1024 [static, protected] |
int fdstreambuf::fd [protected] |
const int fdstreambuf::pbSize = 4 [static, protected] |