<< Previous | Next >>

fat_Status

int fat_Status( fat_part *part, char *name, fat_dirent *entry );

Description

Scans for the specified entry and fills in the entry structure if found without opening the directory or entry.

Parameters

part
Pointer to the partition structure being used.

name
Pointer to the full path name of the entry to be found.

entry
Pointer to the directory entry structure to fill in.

Return Value

0: success.
-EIO: device I/O error.
-EINVAL: part, filepath, or entry are invalid.
-ENOENT: the file/directory/label does not exist.
-EBUSY: the device is busy (Only non-blocking mode). If you get this error, call the function again without changing any parameters.

Library

FAT.LIB

See Also

fat_ReadDir


Dynamic C Functions << Previous | Next >> rabbit.com