commit | 6baffed252d0efbce5a79f356c2f156f4f818996 | [log] [tgz] |
---|---|---|
author | Ken Sumrall <ksumrall@android.com> | Wed Dec 14 20:50:01 2011 -0800 |
committer | Jean-Baptiste Queru <jbq@google.com> | Fri Apr 27 09:34:53 2012 -0700 |
tree | 68679119ced92e19b1bfd505239fc8a2e2961efe | |
parent | 1e343cb119fde897b0eb6503f114edf20e9b3532 [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