Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

void  FSEntry_Query (CPU_CHAR       *name_full,
                     FS_ENTRY_INFO  *p_info,
                     FS_ERR         *p_err);

File

Called from

Code enabled by

fs_entry.c

Application;

fs_stat()

N/A

Get information about a file or directory.

Arguments

name_full

Name of the entry. See section 4-3 “μC/FS File and Directory Names and Paths”.

p_info

Pointer to structure that will receive the file information.

p_err

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

FS_ERR_NONE

File information obtained successfully.

FS_ERR_NAME_NULL

Argument name_full passed a NULL pointer.

FS_ERR_NAME_INVALID

Entry name specified invalid OR volume could not be found.

FS_ERR_NAME_PATH_TOO_LONG

Entry name specified too long.

FS_ERR_VOL_NOT_OPEN

Volume was not open.

FS_ERR_VOL_NOT_MOUNTED

Volume was not mounted.

FS_ERR_BUF_NONE_AVAIL

Buffer not available.

FS_ERR_DEV

Device access error.

Returned Value

None.

Notes/Warnings

None.

  • No labels