diff options
Diffstat (limited to 'libio/stdio.h')
-rw-r--r-- | libio/stdio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libio/stdio.h b/libio/stdio.h index 7a18261586..ccab90bc2e 100644 --- a/libio/stdio.h +++ b/libio/stdio.h @@ -219,6 +219,9 @@ extern FILE *fopencookie (void *__restrict __magic_cookie, __const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) __THROW; +/* Create a new stream that refers to a memory buffer. */ +extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __THROW; + /* Open a stream that writes into a malloc'd buffer that is expanded as necessary. *BUFLOC and *SIZELOC are updated with the buffer's location and the number of characters written on fflush or fclose. */ |