DB_MPOOLFILE->open API Ref

#include <db.h>

int DB_MPOOLFILE->open(DB_MPOOLFILE *mpf, char *file, u_int32_t flags, int mode, size_t pagesize);


Description: DB_MPOOLFILE->open

The DB_MPOOLFILE->open method opens a file in the shared memory buffer pool.

The DB_MPOOLFILE->open method returns a non-zero error value on failure and 0 on success.

Parameters
file

When using a Unicode build on Windows (the default), the file argument will be interpreted as a UTF-8 string, which is equivalent to ASCII for Latin characters.

flags mode pagesize

Errors

The DB_MPOOLFILE->open method may fail and return one of the following non-zero errors:


EINVAL

ENOMEM


Class DB_ENV, DB_MPOOLFILE
See Also Memory Pools and Related Methods

APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.