c_tipopen - Open a file of TIP data

SYNTAX

FUNCTION c_tipopen (fd, file, access)

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

PARAMETERS

fd (int *, output)

File descriptor.

file (char *, input)

Host name of the TIP file to be opened.

access (long *, input)

Desired access for the TIP file.

        = IREAD   (0):        Read access
        = IWRITE  (1):        Write access
        = IUPDATE (2):        Read/write access

DESCRIPTION

The c_tipopen() routine opens the specified TIP file with the specified access.

RETURN VALUE

c_tipopen() returns

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