]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along
authorgahr <gahr@FreeBSD.org>
Wed, 30 Jan 2013 14:59:26 +0000 (14:59 +0000)
committergahr <gahr@FreeBSD.org>
Wed, 30 Jan 2013 14:59:26 +0000 (14:59 +0000)
commite7ca48d15b0d2114430b38f3d1cd793d3e50a3ae
tree6bbe6632836c64feeb815c9657b3e9f53e585f21
parent7b6927c4af42d3e6a1b704f87f0eae971121b096
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]