git: libc -- Initial fmemopen support.

看板DFBSD_commit作者時間14年前 (2011/05/17 07:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DqRHANx (DFBSD_commit)