summaryrefslogtreecommitdiff
path: root/src/stdio/fmemopen.c
blob: 77a60746660b79a3e1a6b23caab38ec49ca8a5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if 0
#include "stdio_impl.h"

static ssize_t mread(FILE *f, unsigned char *buf, size_t len)
{
	memcpy(buf, 
}

FILE *fmemopen(void *buf, size_t size, const char *mode)
{
	FILE *f = calloc(sizeof(FILE), 1);
	if (!f) return 0;
	
	//
}
#endif