PIO  2.5.4
Functions | Variables
pio_file.c File Reference
#include <config.h>
#include <pio.h>
#include <pio_internal.h>
#include <uthash.h>
Include dependency graph for pio_file.c:

Functions

int PIOc_openfile (int iosysid, int *ncidp, int *iotype, const char *filename, int mode)
 Open an existing file using PIO library. More...
 
int PIOc_openfile2 (int iosysid, int *ncidp, int *iotype, const char *filename, int mode)
 Open an existing file using PIO library. More...
 
int PIOc_open (int iosysid, const char *path, int mode, int *ncidp)
 Open an existing file using PIO library. More...
 
int PIOc_createfile (int iosysid, int *ncidp, int *iotype, const char *filename, int mode)
 Create a new file using pio. More...
 
int PIOc_create (int iosysid, const char *path, int cmode, int *ncidp)
 Open a new file using pio. More...
 
int PIOc_closefile (int ncid)
 Close a file previously opened with PIO. More...
 
int PIOc_deletefile (int iosysid, const char *filename)
 Delete a file. More...
 
int PIOc_sync (int ncid)
 PIO interface to nc_sync This routine is called collectively by all tasks in the communicator ios.union_comm. More...
 

Variables

int pio_next_ncid = 128
 The PIO library maintains its own set of ncids. More...
 

Detailed Description

PIO File Handling

Function Documentation

◆ PIOc_deletefile()

int PIOc_deletefile ( int  iosysid,
const char *  filename 
)

Delete a file.

Parameters
iosysida pio system handle.
filenamea filename.
Returns
PIO_NOERR for success, error code otherwise.
Author
Jim Edwards, Ed Hartnett

Variable Documentation

◆ pio_next_ncid

int pio_next_ncid = 128

The PIO library maintains its own set of ncids.

This is the next ncid number that will be assigned.