Versions Compared

Key

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

...

void  FS_WorkingDirSet (CPU_CHAR  *path_dir,

...

                        FS_ERR    *p_err);

...

...

File

...

...

Called from

...

Code enabled by

...

rowspan2

...

fs.c

...

rowspan2

...

...

Application;

...

fs_chdir()

...

rowspan2

...

FS_CFG_WORKING_DIR_EN

...

Anchor10916501091650Set the working directory for the current task. Anchor11044791104479

Arguments

Anchor10916531091653path_diranchor11404201140420

String buffer that specified EITHER...

...

(a) the absolute working directory path to set;

...

...

(b) a relative path that will be applied to the current working directory.

...

10916561091656p_err Anchor11404271140427

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

...

classWebWorks_Indent_1

...

FS_ERR_NONE

...

classWebWorks_Indent_2

...

...

Working directory set.

...

...

FS_ERR_NAME_NULL

...

...

Argument path_dir passed a NULL pointer.

...

...

FS_ERR_VOL_NONE_EXIST

...

...

No volumes exist.

...

classWebWorks_Indent_1

...

FS_ERR_WORKING_DIR_NONE_AVAIL

...

...

No working directories available.

...

...

classWebWorks_Indent_1

...

FS_ERR_WORKING_DIR_INVALID

...

classWebWorks_Indent_2

...

Argument path_dir passed an invalid directory.

...

...

Returned Value,

...

None.anchor10998771099877

Notes/Warnings

...

None.