return fopencookie (c, mode, iof);
return _IO_fopencookie (c, mode, iof);
fmemopen (void *buf, size_t len, const char *mode){  cookie_io_functions_t iof;  fmemopen_cookie_t *c;  c = (fmemopen_cookie_t *) malloc (sizeof (fmemopen_cookie_t));  if (c == NULL)    return NULL;  c->mybuffer = (buf == NULL);  if (c->mybuffer)    {      c->buffer = (char *) malloc (len);      if (c->buffer == NULL)	{	  free (c);	  return NULL;	}      c->buffer[0] = '\0';    }  else    c->buffer = buf;  c->size = len;  if (mode[0] == 'w')    c->buffer[0] = '\0';  c->maxpos = strlen (c->buffer);  if (mode[0] == 'a')    c->pos = c->maxpos;  else    c->pos = 0;  iof.read = fmemopen_read;  iof.write = fmemopen_write;  iof.seek = fmemopen_seek;  iof.close = fmemopen_close;  return fopencookie (c, mode, iof);}