lib/pagealign_alloc.c


Log

Author Commit Date CI Message
Jim Meyering d1eb42bd 2005-07-02T09:45:07 Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally, and don't include <sys/file.h>).
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Bruno Haible caa7b0e0 2005-03-07T17:29:29 Don't define MAP_FILE and MAP_FAILED before <sys/mman.h> has been included.
Bruno Haible b6ce80fa 2005-03-04T12:28:13 Set errno when malloc() fails.
Bruno Haible 534f92e8 2005-03-03T20:38:38 From Derek Price: (pagealign_alloc): Set var to const as possible. Check for MAP_FAILED return from mmap. Set errno on failure of posix_memalign(). Catch munmap failure.
Bruno Haible d0e27889 2005-03-03T16:39:16 Internationalize an error message.
Bruno Haible 743a0ae2 2005-03-03T16:21:00 Check or don't check for allocation failure? Provide both alternatives.
Bruno Haible c4942455 2005-03-03T14:07:04 New module 'pagealign_alloc'.