History log of /system/core/libcutils/open_memstream.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe5684ef3a452ab27e6f75ccb74728b6185fa558 26-Jan-2010 Andy McFadden <fadden@android.com> Try to fix Mac build.

Throwing in an include of <unistd.h> and <sys/types.h> to get off_t
defined. Might work.
cf63d5d00f5a631a2905da7812b5c029b5211cf6 23-Jan-2010 Andy McFadden <fadden@android.com> Implementation of open_memstream().

POSIX seems to have chosen open_memstream() over the BSD variant. We
want something for Dalvik that will work on both GNU/Linux and Android,
so this is open_memstream() implemented in terms of BSD funopen().

For Windows there's just a stub that calls abort().

I'm putting this in libcutils since it seems inappropriate for bionic
(which provides the BSD alternatives) but isn't Dalvik-specific.