wrote = fwrite_unlocked (fs->buf, 1, fs->p - fs->buf, fs->stream);
__argp_fmtstream_ensure (struct argp_fmtstream *fs, size_t amount){  if ((size_t) (fs->end - fs->p) < amount)    {      ssize_t wrote;      /* Flush FS's buffer.  */      __argp_fmtstream_update (fs);#ifdef USE_IN_LIBIO      if (_IO_fwide (fs->stream, 0) > 0)	{	  __fwprintf (fs->stream, L"%.*s", (int) (fs->p - fs->buf), fs->buf);	  wrote = fs->p - fs->buf;	}      else#endif	wrote = fwrite_unlocked (fs->buf, 1, fs->p - fs->buf, fs->stream);      if (wrote == fs->p - fs->buf)	{	  fs->p = fs->buf;	  fs->point_offs = 0;	}      else	{	  fs->p -= wrote;	  fs->point_offs -= wrote;	  memmove (fs->buf, fs->buf + wrote, fs->p - fs->buf);	  return 0;	}      if ((size_t) (fs->end - fs->buf) < amount)	/* Gotta grow the buffer.  */	{	  size_t old_size = fs->end - fs->buf;	  size_t new_size = old_size + amount;	  char *new_buf;	  if (new_size < old_size || ! (new_buf = realloc (fs->buf, new_size)))	    {	      __set_errno (ENOMEM);	      return 0;	    }	  fs->buf = new_buf;	  fs->end = new_buf + new_size;	  fs->p = fs->buf;	}    }  return 1;}