DragonFly BSD
DragonFly commits List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: libc -- Initial fmemopen support.

From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 May 2011 10:34:19 -0700 (PDT)

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


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]