Go to the documentation of this file.
51 #define LINE_SIZE 65536
114 FILE *
xfopen(
const char * fname,
const char * mode );
115 FILE *
xfopen(
const std::string &fname,
const char * mode );
118 FILE *
xfreopen(
const char * filename,
const char * mode, FILE * stream );
126 int xfprintf( FILE * out,
const char * fmt, ... );
127 int xfscanf( FILE * in,
const char * fmt, ... );
134 char *
xfgets(
char *s,
int n, FILE *in );
136 int xgetc( FILE * f );
137 int xungetc(
int c, FILE * f );
147 size_t xfread(
void * ptr,
size_t size,
size_t count, FILE * stream );
148 size_t xfwrite(
const void * ptr,
size_t size,
size_t count, FILE * stream );
163 int xfeof ( FILE * f );