os_map.c File Reference

#include "config.h"
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <errno.h>
#include <string.h>
#include "db_int.h"
#include "db_page.h"
#include "db_ext.h"
#include "os_jump.h"

Go to the source code of this file.

Defines

#define MAP_FAILED   -1

Functions

static int __os_map (DB_ENV *dbenv, char *path, DB_FH *fhp, size_t len, int is_region, int is_rdonly, void **addrp)
static int __os_map __P ((DB_ENV *, char *, DB_FH *, size_t, int, int, void **))
int CDB___os_mapfile (DB_ENV *dbenv, char *path, DB_FH *fhp, size_t len, int is_rdonly, void **addrp)
int CDB___os_r_sysattach (DB_ENV *dbenv, REGINFO *infop, REGION *rp)
int CDB___os_r_sysdetach (DB_ENV *dbenv, REGINFO *infop, int destroy)
int CDB___os_unmapfile (DB_ENV *dbenv, void *addr, size_t len)

Variables

static const char revid [] = "$Id: os__map_8c.html,v 1.1 2008/06/08 10:21:18 sebdiaz Exp $"


Generated on Sun Jun 8 10:56:54 2008 for GNUmifluz by  doxygen 1.5.5