Share

AcFILE::fopen

C++

ACBASE_PORT FILE * fopen(
    const wchar_t * pName, 
    const wchar_t * pMode
);

Description

Call this method to open the corresponding operating-system file with the given path.

This method returns the FILE pointer to the opened file, if file open was successful. Otherwise, it returns null.

Parameters

Parameters Description
pName Input absolute or relative path to the file to be opened
pMode Input the type of access requested for the file. Refer to the MSDN documentation on "fopen" function for a complete list of possible values.

Links

AcFILE

Previous Declaration

FILE * fopen(

const TCHAR * pName,

const TCHAR * pMode

);

Was this information helpful?