#ifdef __GNUC__
#pragma implementation
#endif
#define _STREAM_COMPAT
#include "builtinbuf.h"
#include "iostreamP.h"
#if !_IO_UNIFIED_JUMPTABLES
int builtinbuf::overflow(int ch) { return _IO_OVERFLOW (this, ch); }
int builtinbuf::underflow() { return _IO_UNDERFLOW (this); }
streamsize builtinbuf::xsgetn(char* buf, streamsize n)
{ return _IO_XSGETN (this, buf, n); }
streamsize builtinbuf::xsputn(const char* buf, streamsize n)
{ return _IO_XSPUTN (this, buf, n); }
int builtinbuf::doallocate() { return _IO_DOALLOCATE (this); }
builtinbuf::~builtinbuf() { _IO_FINISH (this); }
int builtinbuf::sync() { return _IO_SYNC (this); }
streambuf* builtinbuf::setbuf(char *buf, int n)
{ return (streambuf*)_IO_SETBUF (this, buf, n); }
streampos builtinbuf::seekoff(streamoff off, _seek_dir dir, int mode)
{
return _IO_SEEKOFF (this, off, dir, mode);
}
streampos builtinbuf::seekpos(streampos pos, int mode)
{
return _IO_SEEKPOS (this, pos, mode);
}
int builtinbuf::pbackfail(int c)
{ return _IO_PBACKFAIL (this, c); }
streamsize builtinbuf::sys_read(char* buf, streamsize size)
{ return _IO_SYSREAD (this, buf, size); }
streampos builtinbuf::sys_seek(streamoff off, _seek_dir dir)
{ return _IO_SYSSEEK (this, off, dir); }
streamsize builtinbuf::sys_write(const char* buf, streamsize size)
{ return _IO_SYSWRITE (this, buf, size); }
int builtinbuf::sys_stat(void* buf) { return _IO_SYSSTAT (this, buf); }
int builtinbuf::sys_close()
{ return _IO_SYSCLOSE (this); }
#endif