]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along
authorPietro Cerutti <gahr@FreeBSD.org>
Wed, 30 Jan 2013 14:59:26 +0000 (14:59 +0000)
committerPietro Cerutti <gahr@FreeBSD.org>
Wed, 30 Jan 2013 14:59:26 +0000 (14:59 +0000)
commit96c95412cafecdd39aaf1539ce712e4a24975c52
tree6bbe6632836c64feeb815c9657b3e9f53e585f21
parent9005607c8fa7317a759f1fc16cae4738f9a2fbb3
Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along
with the respective regression test.
See http://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html

Reviewed by: cognet
Approved by: cognet
include/stdio.h
lib/libc/stdio/Makefile.inc
lib/libc/stdio/Symbol.map
lib/libc/stdio/fmemopen.c [new file with mode: 0644]
lib/libc/stdio/fopen.3
tools/regression/lib/libc/stdio/test-fmemopen.c [new file with mode: 0644]
tools/regression/lib/libc/stdio/test-fmemopen.t [new file with mode: 0644]