mman.h File Reference

API published in:
API deprecated in:


#include <sys/cdefs.h>
#include <sys/_types.h>

Go to the source code of this file.


Defines

#define  PROT_NONE   0x00
#define  PROT_READ   0x01
#define  PROT_WRITE   0x02
#define  PROT_EXEC   0x04
#define  MAP_SHARED   0x0001
#define  MAP_PRIVATE   0x0002
#define  MAP_FIXED   0x0010
#define  MAP_FAILED   ((void *)-1)
#define  MS_SYNC   0x0000
#define  MS_ASYNC   0x0001
#define  MS_INVALIDATE   0x0002

Typedefs

typedef __mode_t  mode_t
typedef __off_t  off_t
typedef __size_t  size_t

Functions

__BEGIN_DECLS IMPORT_C void *  mmap (void *, size_t, int, int, int, off_t)
IMPORT_C int  mprotect (const void *, size_t, int)
IMPORT_C int  msync (void *, size_t, int)
IMPORT_C int  munmap (void *, size_t)

Define Documentation

#define MAP_FAILED   ((void *)-1)
 
#define MAP_FIXED   0x0010
 
#define MAP_PRIVATE   0x0002
 
#define MAP_SHARED   0x0001
 
#define MS_ASYNC   0x0001
 
#define MS_INVALIDATE   0x0002
 
#define MS_SYNC   0x0000
 
#define PROT_EXEC   0x04
 
#define PROT_NONE   0x00
 
#define PROT_READ   0x01
 
#define PROT_WRITE   0x02
 

Typedef Documentation

typedef __mode_t mode_t
 
typedef __off_t off_t
 
typedef __size_t size_t
 

Function Documentation

__BEGIN_DECLS IMPORT_C void* mmap void *  ,
size_t  ,
int  ,
int  ,
int  ,
off_t 
 
IMPORT_C int mprotect const void *  ,
size_t  ,
int 
 
IMPORT_C int msync void *  ,
size_t  ,
int 
 
IMPORT_C int munmap void *  ,
size_t 
 

Copyright © Nokia Corporation 2001-2008
Back to top