| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

mman.h
Go to the documentation of this file.
1
9 #ifndef __MMAN_H__
10 #define __MMAN_H__
11
12 #include <stddef.h>
13 #include <core/mman.h>
14 #include <sys/types.h>
15
59 #define MAP_FAILED ((void *)-1)
60
106 extern void *
107 mmap(void *addr,
108 size_t len,
109 int prot,
110 int flags,
111 int fd,
112 off_t offset);
113
132 extern int munmap(void *addr, size_t length);
133
147 extern int mprotect(void *addr, size_t len, int prot);
148
149 #endif /* !__MMAN_H__ */
150
types.h
Wrapper for kernel types.h header.
off_t
int64_t off_t
Definition: types.h:37
mmap
void * mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
mprotect
int mprotect(void *addr, size_t len, int prot)
mman.h
munmap
int munmap(void *addr, size_t length)