s->__bufp = s->__buffer = buf; s->__bufsize = sizeof buf; s->__put_limit = s->__buffer + s->__bufsize; s->__get_limit = s->__buffer;
helper._put_stream = s; #ifdef COMPILE_WPRINTF hp->_wide_data = &helper._wide_data; _IO_wsetp (hp, buf, buf + sizeof buf / sizeof (CHAR_T)); hp->_mode = 1; #else _IO_setp (hp, buf, buf + sizeof buf); hp->_mode = -1; #endif hp->_IO_file_flags = _IO_MAGIC|_IO_NO_READS|_IO_USER_LOCK; #if _IO_JUMPS_OFFSET hp->_vtable_offset = 0; #endif #ifdef _IO_MTSAFE_IO hp->_lock = NULL; #endif _IO_JUMPS (&helper._f) = (struct _IO_jump_t *) &_IO_helper_jumps;
buffered_vfprintf (register FILE *s, const CHAR_T *format, va_list args){  char buf[BUFSIZ];  int result;  /* Orient the stream.  */#ifdef ORIENT  ORIENT;#endif  s->__bufp = s->__buffer = buf;  s->__bufsize = sizeof buf;  s->__put_limit = s->__buffer + s->__bufsize;  s->__get_limit = s->__buffer;  /* Now use buffer to print.  */  result = vfprintf (s, format, args);  if (fflush (s) == EOF)    result = -1;  s->__buffer = s->__bufp = s->__get_limit = s->__put_limit = NULL;  s->__bufsize = 0;  return result;}