Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

FS_ERR_NONE

Entry created 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.

...

 Or entry error.

Returned Value

None.

Notes/Warnings

  • If the entry exists and is a file, entry_type is FS_ENTRY_TYPE_FILE and excl is DEF_NO, then the existing entry will be truncated. If the entry exists and is a directory and entry_type is FS_ENTRY_TYPE_DIR, then no change will be made to the file system.
  • If the entry exists and is a directory, dir is DEF_NO and excl is DEF_NO, then no change will be made to the file system. Similarly, if the entry exists and is a file, dir is DEF_YES and excl is DEF_NO, then no change will be made to the file system.
  • The root directory may not be created.