PIO  2.5.4
Functions
Sync a File

Flush buffers and sync data to disk in C. More...

Functions

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...
 

Detailed Description

Flush buffers and sync data to disk in C.

Function Documentation

◆ PIOc_sync()

int PIOc_sync ( int  ncid)

PIO interface to nc_sync This routine is called collectively by all tasks in the communicator ios.union_comm.

Refer to the netcdf documentation.

Parameters
ncidthe ncid of the file to sync.
Returns
PIO_NOERR for success, error code otherwise.
Author
Jim Edwards, Ed Hartnett