#include <fdstream.h>
Public Member Functions | |
| fdoutbuf (int _fd) | |
Protected Member Functions | |
| virtual int | overflow (int c) |
| virtual std::streamsize | xsputn (const char *s, std::streamsize num) |
Protected Attributes | |
| int | fd |
|
|
Definition at line 68 of file fdstream.h. 00068 : fd(_fd) { 00069 }
|
|
|
Definition at line 72 of file fdstream.h. 00072 {
00073 if (c != EOF) {
00074 char z = c;
00075 if (write (fd, &z, 1) != 1) {
00076 return EOF;
00077 }
00078 }
00079 return c;
00080 }
|
|
||||||||||||
|
Definition at line 83 of file fdstream.h. 00084 {
00085 return write(fd,s,num);
00086 }
|
|
|
Definition at line 65 of file fdstream.h. |
1.3.9.1