projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make pthread_create return EAGAIN on resource failure, as required by POSIX
[oweals/musl.git]
/
src
/
stdio
/
fmemopen.c
1
#if 0
2
#include "stdio_impl.h"
3
4
static ssize_t mread(FILE *f, unsigned char *buf, size_t len)
5
{
6
memcpy(buf,
7
}
8
9
FILE *fmemopen(void *buf, size_t size, const char *mode)
10
{
11
FILE *f = calloc(sizeof(FILE), 1);
12
if (!f) return 0;
13
14
//
15
}
16
#endif