Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
include
tenok
sys
mman.h
Go to the documentation of this file.
1
6
#ifndef _TENOK_SYS_MMAN_H
7
#define _TENOK_SYS_MMAN_H
8
9
#include <
sys/types.h
>
10
11
#define PROT_READ 0x1
12
#define PROT_WRITE 0x2
13
#define PROT_EXEC 0x4
14
#define PROT_NONE 0x0
15
16
#define MAP_SHARED 0x01
17
#define MAP_PRIVATE 0x02
18
#define MAP_ANONYMOUS 0x20
19
#define MAP_FAILED ((void *) -1)
20
21
void
*mmap(
void
*addr,
size_t
length,
int
prot,
int
flags,
int
fd, off_t off);
22
int
munmap(
void
*addr,
size_t
length);
23
24
#endif
types.h
Generated by
1.9.1