File System Entry Access Functions

The entry access functions (listed in Table - Entry API functions) provide an API for performing single operations on file system entries (files and directories), such as copying, renaming or deleting. Each of these operations is atomic; consequently, in the absence of device access errors, either the operation will have completed or no change to the storage device will have been made upon function return.

One of these functions, FSEntry_Query(), obtains information about an entry (including the attributes, date/time stamp and file size). Two functions set entry properties, FSEntry_AttribSet() and FSEntry_TimeSet(), which set a file’s attributes and date/time stamp. A new file entry can be created with FSEntry_Create() or an existing entry deleted, copied or renamed (with FSEntry_Del(), FSEntry_Copy() or FSEntry_Rename()).

Table - Entry API functions

Function

Description

FSEntry_AttribSet()

Set a file or directory's attributes.

FSEntry_Copy()

Copy a file.

FSEntry_Create()

Create a file or directory.

FSEntry_Del()

Delete a file or directory.

FSEntry_Query()

Get information about a file or directory.

FSEntry_Rename()

Rename a file or directory.

FSEntry_TimeSet()

Set a file or directory's date/time.