rename mmap() and munmap()
. it's a good extra interface to have but doesn't meet standardised functionality . applications (in pkgsrc) find it and expect full functionality the minix mmap doesn't offter . on the whole probably better to hide these functions (mmap and friends) until they are grown up; the base system can use the new minix_* names
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
/* mmap() error return */
|
||||
#define MAP_FAILED ((void *)-1)
|
||||
|
||||
_PROTOTYPE( void *mmap, (void *, size_t, int, int, int, off_t));
|
||||
_PROTOTYPE( int munmap, (void *, size_t));
|
||||
_PROTOTYPE( int munmap_text, (void *, size_t));
|
||||
_PROTOTYPE( void *minix_mmap, (void *, size_t, int, int, int, off_t));
|
||||
_PROTOTYPE( int minix_munmap, (void *, size_t));
|
||||
_PROTOTYPE( int minix_munmap_text, (void *, size_t));
|
||||
_PROTOTYPE( void *vm_remap, (endpoint_t d, endpoint_t s, void *da,
|
||||
void *sa, size_t si));
|
||||
_PROTOTYPE( int vm_unmap, (endpoint_t endpt, void *addr));
|
||||
|
||||
Reference in New Issue
Block a user