| commit | a7fe79f9308521f4d1a14d2b3d67fdb1d1830a85 | [log] [tgz] |
|---|---|---|
| author | Ken Sumrall <ksumrall@android.com> | Wed Dec 14 20:50:01 2011 -0800 |
| committer | Andrew Sutherland <dr3wsuth3rland@gmail.com> | Wed Jun 13 15:10:41 2012 -0500 |
| tree | 4a44b78873b510df551dd01c2c01e6f06f60f55c | |
| parent | 8bce958a8ac94c20db10806b18203448438e03fa [diff] |
Add the posix_memalign(3) function to bionic The posix_memalign(3) function is very similar to the traditional memalign(3) function, but with better error reporting and a guarantee that the memory it allocates can be freed. In bionic, memalign(3) allocated memory can be freed, so posix_memalign(3) is just a wrapper around memalign(3). Change-Id: I62ee908aa5ba6b887d8446a00d8298d080a6a299