mman

mman

Functions

int mlock ()
void * mmap ()
int mprotect ()
int munlock ()
int munmap ()

Types and Values

#define mode_t
#define off_t
#define size_t
#define MAP_FAILED

Description

Functions

mlock ()

int
mlock (const void *addr,
       size_t length);

mmap ()

void *
mmap (void *addr,
      size_t length,
      int prot,
      int flags,
      int fd,
      off_t offset);

mprotect ()

int
mprotect (void *addr,
          size_t length,
          int prot);

munlock ()

int
munlock (const void *addr,
         size_t length);

munmap ()

int
munmap (void *addr,
        size_t length);

Types and Values

mode_t

#define             mode_t

off_t

#define             off_t

size_t

#define             size_t

MAP_FAILED

# define MAP_FAILED ((void *)-1)