Open GoogleCodeExporter opened 9 years ago
Apologies, that function should have been:
#include <memory.h>
#include <errno.h>
int posix_memalign(void **memptr, size_t alignment, size_t size)
{
*memptr = malloc(size);
return *memptr == NULL ? ENOMEM : 0;
}
Original comment by gnas...@gmail.com
on 9 Dec 2010 at 3:34
Original issue reported on code.google.com by
gnas...@gmail.com
on 9 Dec 2010 at 2:46Attachments: