Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Last active August 29, 2015 14:22
Show Gist options
  • Save shichao-an/1e2ecfc1323bdae6ff58 to your computer and use it in GitHub Desktop.
Save shichao-an/1e2ecfc1323bdae6ff58 to your computer and use it in GitHub Desktop.
#include <stdio.h>
FILE *fmemopen(void *restrict buf, size_t size,
const char *restrict type);
/* Returns: stream pointer if OK, NULL on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment