#include <nitro/fs.h>
BOOL FS_CreateFile(const char *path, u32 permit);
path | Path name of the file to be created. |
permit | Specifies the combination of FS_PERMIT_* flags that indicate the access rights to the file. |
Returns TRUE if the file was created properly; returns FALSE otherwise. In case of failure, the error details can be obtained using FS_GetArchiveResultCode()
.
Creates the new file specified by the arguments. The function returns FALSE in the following situations:
FS_PERMIT_*
FS_DeleteFile FS_RenameFile FS_GetResultCode
2007/09/18 Initial version.
CONFIDENTIAL