Entry Access Functions - POSIX
The entry access functions provide an API for performing single operations on file system entries (files and directories), such as renaming or deleting a file. 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.
A new directory can be created with fs_mkdir()
or an existing file or directory deleted or renamed (with fs_remove()
or fs_rename()
).