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 6 Next »

The entry access 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()).

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.

Table 8-3 Entry API functions

  • No labels