Add POSIX-2008 fmemopen, open_memstream, and open_wmemstream.
Bug: 17164505 Change-Id: I59e28a08ff8b6ab632230b11a5807cfd5278aeb5
This commit is contained in:
@@ -325,6 +325,11 @@ int putc_unlocked(int, FILE *);
|
||||
int putchar_unlocked(int);
|
||||
#endif /* __POSIX_VISIBLE >= 199506 */
|
||||
|
||||
#if __POSIX_VISIBLE >= 200809
|
||||
FILE* fmemopen(void*, size_t, const char*);
|
||||
FILE* open_memstream(char**, size_t*);
|
||||
#endif /* __POSIX_VISIBLE >= 200809 */
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE */
|
||||
|
Reference in New Issue
Block a user