FSFile_Query()

void  FSFile_Query (FS_FILE        *p_file,
                    FS_ENTRY_INFO  *p_info,
                    FS_ERR         *p_err);

File

Called from

Code enabled by

fs_file.c

Application;
fs_fstat()

N/A

FSFile_Query() is used to get information about a file.

Arguments

p_file

Pointer to a file.

p_info

Pointer to structure that will receive the file information (see Note).

p_err

Pointer to variable that will the receive return error code from the function:

FS_ERR_NONE

File information obtained successfully.

FS_ERR_NULL_PTR

Argument p_file or p_info passed a NULL pointer.

FS_ERR_INVALID_TYPE

Argument p_file's type is invalid or unknown.

FS_ERR_FILE_NOT_OPEN

File not open.

Returned Value

None.

Notes/Warnings

None.