Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
mman.h
Go to the documentation of this file.
1
29#ifndef _RWSTD_MMAN_H_INCLUDED
30#define _RWSTD_MMAN_H_INCLUDED
31
32
33#include <rw/_defs.h>
34
35
37
38
39// maps a named file into memory as shared, read-only, returns
40// the beginning address on success and fills 'size' with the
41// size of the file; returns 0 on failure
42void* __rw_mmap (const char*, _RWSTD_SIZE_T*);
43
44// unmaps a memory region
45void __rw_munmap (const void*, _RWSTD_SIZE_T);
46
47
48} // namespace __rw
49
50
51#endif // _RWSTD_MMAN_H_INCLUDED
#define _RWSTD_NAMESPACE(name)
Definition _defs.h:567