看板 DFBSD_commit 關於我們 聯絡資訊
commit e5afb31fe927cd3559de706b736ec9266116ce01 Author: Venkatesh Srinivas <me@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