c_hdropen - Open an associated AVHRR archive header file (AHDR)

SYNTAX

FUNCTION c_hdropen (fd, file, access)

    int  *fd;	
    char *file;
    long *access;

PARAMETERS

fd (int *, output)

File descriptor for the opened AVHRR archive header file.

file (char *, input)

Host file name for the associated AVHRR archive header file to be opened.

access (long *, input)

The type of access requested (IREAD, IWRITE, IUPDATE).

DESCRIPTION

The specified file is opened with the appropriate access privileges.

RETURN VALUE

c_hdropen() returns

    E_SUCC (0)  --> Successful completion.
    E_FAIL (-1) --> Operation failed.