- int sync() {
-
- int c = stream_buf->pubsync();
-
- if (c != -1)
- c = file.rdbuf()->pubsync();
-
- return c;
- }
-
- int underflow() { return traits_type::not_eof(stream_buf->sgetc()); }
-
- int uflow() {
-
- int c = stream_buf->sbumpc();
-
- if (!traits_type::eq_int_type(c, traits_type::eof()))
- file.rdbuf()->sputc(traits_type::to_char_type(c));