svn commit: r246120 - in head: include lib/libc/stdio tools/regression/lib/libc/stdio

John Baldwin jhb at freebsd.org
Wed Jan 30 16:30:39 UTC 2013


On Wednesday, January 30, 2013 9:59:26 am Pietro Cerutti wrote:
> Author: gahr (ports committer)
> Date: Wed Jan 30 14:59:26 2013
> New Revision: 246120
> URL: http://svnweb.freebsd.org/changeset/base/246120
> 
> Log:
>   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

Oh, cool!  I have an implementation of open_memstream() based on funopen() 
that I can import them.  I was waiting to implement this so they could be
added together (since Linux treats them as a pair).

-- 
John Baldwin


More information about the svn-src-all mailing list