#include "dpssfs/dpssfs.h" 

int dpssOpen(char *filename, int flags, int modes )

Create a DPSS descriptor for DPSS read/write calls.

Documentation

Returns:
a dpss descriptor if successful, -1 if error occurred.
Parameters:
filename -  name of the file to open on the DPSS. This can be just a simple name, or a URL.
flags -  currently supported flags are O_RDONLY, O_WRONLY, O_CREAT.
Our view of the other flags follows:
        O_RDWR         Coming soon.
        O_APPEND       To be implemented in future revs.
        O_TRUNC        To be implemented if demand warrants.
        O_NDELAY       Not applicable to DPSSFS lib.
        O_NONBLOCK     Not applicable to DPSSFS lib.
        O_SYNC         Not applicable to DPSSFS lib.
        O_NOCTTY       Not applicable to DPSSFS lib.
    mode - this arguement is ignored. It is present so the the API matches the UNIX open call.
     
    Author:
    Gary Hoo


    DPSS API Home Page