summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Add #include <unistd.h> to get the prototype for __syscall().jb1998-03-091-1/+2
| | | | Cast to long before casting to a void ptr to shut up gcc.
* Convert caddr_t --> void * for sys/mman.h functions.alex1997-12-311-3/+3
| | | | | | | | | | | | | | | | mlock, mmap, mprotect, msync, munlock, and munmap are defined by POSIX as taking void *. The const modifier has been added to mlock, munlock, and mprotect as the standard dictates. minherit comes from OpenBSD and has been updated to conform with their recent change to void *. madvise and mincore are not defined by POSIX, but their arguments have been modified to be consistent with the POSIX-defined functions. mincore takes a const pointer, but madvise does not due to the MADV_FREE case. Discussed with: bde
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+58
OpenPOWER on IntegriCloud