summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix style (no space after return, twice-too-big continuation) andjmallett2002-12-221-2/+2
| | | | | | | cast (casting long to a void pointer, rather than intptr_t to a void pointer) bogons. Reviewed by: bde
* Fix the style of the SCM ID's.obrien2002-03-221-0/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* 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