53 #if defined (CXX_ISO_COMPLIANT_LIBRARY)
55 return (c != traits_type::eof ()) ? gnulib::fputc (c,
f) :
flush ();
57 return traits_type::not_eof (c);
60 return (c != EOF) ? gnulib::fputc (c,
f) :
flush ();
74 #
if defined (CXX_ISO_COMPLIANT_LIBRARY)
75 && c != traits_type::eof ())
84 #if defined (CXX_ISO_COMPLIANT_LIBRARY)
85 return traits_type::eof ();
94 #if defined (CXX_ISO_COMPLIANT_LIBRARY)
95 return (c != traits_type::eof () &&
f) ? ungetc (c,
f)
96 : traits_type::not_eof (c);
98 return (c != EOF &&
f) ? ungetc (c,
f) : EOF;
106 return gnulib::fwrite (s, 1, n,
f);
115 return gnulib::fread (s, 1, n,
f);
123 return ((dir == std::ios::beg) ?
SEEK_SET :
176 return f ? gnulib::fflush (
f) : EOF;
198 return f ? gnulib::fseeko (
f, offset, origin) : -1;
204 return f ? gnulib::ftello (
f) : -1;
210 return gnulib::fclose (f);
225 #if defined (CXX_ISO_COMPLIANT_LIBRARY)
227 return (c != traits_type::eof ()) ? gzputc (
f, c) :
flush ();
229 return traits_type::not_eof (c);
232 return (c != EOF) ? gzputc (
f, c) :
flush ();
246 #
if defined (CXX_ISO_COMPLIANT_LIBRARY)
247 && c != traits_type::eof ())
256 #if defined (CXX_ISO_COMPLIANT_LIBRARY)
257 return traits_type::eof ();
266 #if defined (CXX_ISO_COMPLIANT_LIBRARY)
267 return (c != traits_type::eof () &&
f) ? gzungetc (c,
f)
268 : traits_type::not_eof (c);
270 return (c != EOF &&
f) ? gzungetc (c,
f) : EOF;
278 return gzwrite (
f, s, n);
287 return gzread (
f, s, n);
343 return f ? gzflush (
f, 0) : EOF;