implement open_memstream
this is the first attempt, and may have bugs. only minimal testing has been performed.
This commit is contained in:
parent
adb7093caa
commit
b158b32a44
2 changed files with 95 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ FILE *tmpfile(void);
|
|||
|
||||
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|
||||
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
|
||||
FILE *open_memstream(char **, size_t *);
|
||||
FILE *fdopen(int, const char *);
|
||||
FILE *popen(const char *, const char *);
|
||||
int pclose(FILE *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue