commit | cf63d5d00f5a631a2905da7812b5c029b5211cf6 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Fri Jan 22 16:37:25 2010 -0800 |
committer | Andy McFadden <fadden@android.com> | Mon Jan 25 15:06:03 2010 -0800 |
tree | 7de38ce5ad86c51337c7440c555d7c2f00a607c2 | |
parent | 58936f72b239fa8c065673dab065d3a8c98b95d6 [diff] |
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.