cxOpenFile(3)

NAME
cxOpenFile - Opens a file from a local or remote filesystem, or in an archive.

SYNOPSIS
#include <comprex.h> CxFP *cxOpenFile(const char *path, CxAccessMode mode);

PARAMETERS

path
    The path to the file.

mode
    The access mode.

DESCRIPTION
Opens a file from a local or remote filesystem, or in an archive.

RETURNS
The file pointer, if the file exists. NULL otherwise.

SEE ALSO
cxOpenBuffer(3), cxOpenFileHandle(3), cxOpenStream(3), cxClose(3)