NuSDaS Interface Reference Manual

NUSDAS_ALLFILE_CLOSE

SYNOPSIS

/* C */
    int
nusdas_allfile_close(closemode)

! Fortran
SUBROUTINE NUSDAS_ALLFILE_CLOSE(closemode, iostat)
symbolFortranC
closemode(should be symbol in header)(should be macro in header)
iostatINTEGER, INTENT(OUT)(not used)

ARGUMENTS

closemode

One of following symbols defined in header file:

N_FOPEN_READ

all files opened as read-only are closed.

N_FOPEN_WRITE

all files opened as writable are closed.

N_FOPEN_ALL

all files are closed.

iostat

see following section, RETURN VALUE.

RETURN VALUE

> 0Succeeded. The value is number of files successfully closed.
< 0Error: the absolute value is number of files that cause error.