libc: Sync open_memstream(3) with FreeBSD. Also add open_wmemstream(3).
authorSascha Wildner <saw@online.de>
Sat, 5 Sep 2015 18:48:49 +0000 (20:48 +0200)
committerSascha Wildner <saw@online.de>
Sat, 5 Sep 2015 18:48:49 +0000 (20:48 +0200)
commit2c8c2922834904924d7b42db7bd943aaa20f3452
tree6cd222742f01b14f29b088a8e3ac6deacb859e05
parentaa9a8ae0e364cb078ce8ebbaafb0e6c11aeebaae
libc: Sync open_memstream(3) with FreeBSD. Also add open_wmemstream(3).

Their open_memstream(3) implementation is more compliant than ours was.

Taken-from: FreeBSD
include/wchar.h
lib/libc/stdio/Makefile.inc
lib/libc/stdio/Symbol.map
lib/libc/stdio/open_memstream.3
lib/libc/stdio/open_memstream.c
lib/libc/stdio/open_wmemstream.c [new file with mode: 0644]