23 #if defined (HAVE_CONFIG_H)
33 #if ! defined (SEEK_SET)
37 #if ! defined (SEEK_CUR)
41 #if ! defined (SEEK_END)
56 return (c != traits_type::eof ()) ? std::fputc (c,
f) :
flush ();
58 return traits_type::not_eof (c);
68 if (! bump && c != traits_type::eof ())
74 return traits_type::eof ();
80 return ((c != traits_type::eof () &&
f)
81 ? ungetc (c,
f) : traits_type::not_eof (c));
88 return std::fwrite (s, 1, n,
f);
97 return std::fread (s, 1, n,
f);
105 return (dir == std::ios::beg
113 std::ios::seekdir dir,
187 #if defined (HAVE_ZLIB)
200 return (c != traits_type::eof ()) ? gzputc (
f, c) :
flush ();
202 return traits_type::not_eof (c);
212 if (! bump && c != traits_type::eof ())
218 return traits_type::eof ();
224 return ((c != traits_type::eof () &&
f)
225 ? gzungetc (c,
f) : traits_type::not_eof (c));
232 return gzwrite (
f, s, n);
241 return gzread (
f, s, n);
297 return f ? gzflush (
f, 0) : traits_type::eof ();
std::streamsize xsputn(const char *, std::streamsize)
off_t octave_ftello_wrapper(FILE *fp)
int octave_fseeko_wrapper(FILE *fp, off_t offset, int whence)
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE * f
std::streampos seekpos(std::streampos, std::ios::openmode=std::ios::in|std::ios::out)
std::streambuf::int_type int_type
int_type underflow_common(bool)
std::streampos seekoff(std::streamoff, std::ios::seekdir, std::ios::openmode=std::ios::in|std::ios::out)
std::streamsize xsputn(const char *, std::streamsize)
std::streamsize xsgetn(char *, std::streamsize)
static int seekdir_to_whence(std::ios::seekdir dir)
std::streamsize xsgetn(char *, std::streamsize)
int_type pbackfail(int_type)
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
int_type pbackfail(int_type)
static int file_close(FILE *f)
int_type underflow_common(bool)
std::streambuf::int_type int_type
std::streampos seekoff(std::streamoff, std::ios::seekdir, std::ios::openmode=std::ios::in|std::ios::out)
int seek(off_t offset, int origin)
int_type overflow(int_type)
int_type overflow(int_type)
std::streampos seekpos(std::streampos, std::ios::openmode=std::ios::in|std::ios::out)