git: libc -- Initial fmemopen support.
Venkatesh Srinivas
vsrinivas at crater.dragonflybsd.org
Wed May 11 10:35:15 PDT 2011
commit e5afb31fe927cd3559de706b736ec9266116ce01
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date: Wed May 11 10:31:35 2011 -0700
libc -- Initial fmemopen support.
fmemopen allows wrapping a memory buffer in the FILE* interface.
fmemopen was added to POSIX 200809. This version is based around a patch
from Hiten Pandya for FreeBSD. This version does not currently support all of
POSIX's mode strings.
Summary of changes:
include/stdio.h | 1 +
lib/libc/stdio/Makefile.inc | 3 +-
lib/libc/stdio/fmemopen.c | 211 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 214 insertions(+), 1 deletions(-)
create mode 100644 lib/libc/stdio/fmemopen.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e5afb31fe927cd3559de706b736ec9266116ce01
--
DragonFly BSD source repository
More information about the Commits
mailing list