afc_fileops_exists_full

Name

afc_fileops_exists_full  -- Check whether a file/dir exists in file system

Synopsis

int afc_fileops_exists_full ( FileOperations * fo, char * dir, char * file_name );

Description

This function is the same of afc_fileops_exists() but you can provide the file_name and dir separately.

Inputs

fo

Pointer to a valid FileOperations class.

dir

The full path to get to the file

file_name

The file/dir name to check

Result

AFC_ERR_NO_ERROR

The file/dir exists

AFC_FILEOPS_ERR_STAT

The file does not exists in the file system, or not enough permissions to stat the file.

See Also