NetCDF  4.9.3
dispatch functions.

Functions

static int check_create_mode (int mode)
 Check the create mode parameter for sanity. More...
 
int nc__pseudofd (void)
 
int NC_create (const char *path0, int cmode, size_t initialsz, int basepe, size_t *chunksizehintp, int useparallel, void *parameters, int *ncidp)
 
int NC_open (const char *path0, int omode, int basepe, size_t *chunksizehintp, int useparallel, void *parameters, int *ncidp)
 

Variables

static int pseudofd = 0
 

Detailed Description

Function Documentation

static int check_create_mode ( int  mode)
static

Check the create mode parameter for sanity.

Some create flags cannot be used if corresponding library features are enabled during the build. This function does a pre-check of the mode flag before calling the dispatch layer nc_create functions.

Parameters
modeThe creation mode flag.
Returns
NC_NOERR No error.
NC_ENOTBUILT Requested feature not built into library
NC_EINVAL Invalid combination of modes.

Definition at line 1775 of file dfile.c.