From b158b32a44d56ef20407d4285b58180447ffff1f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 3 Sep 2011 00:45:21 -0400 Subject: implement open_memstream this is the first attempt, and may have bugs. only minimal testing has been performed. --- include/stdio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h index b54fe195..f087d9f2 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -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 *); -- cgit v1.2.1