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 »

void  FS_WorkingDirSet (CPU_CHAR  *path_dir,
                        FS_ERR    *p_err);

File

Called from

Code enabled by

fs.c

Application;

fs_chdir()

FS_CFG_WORKING_DIR_EN

Set the working directory for the current task.

Arguments

path_dir

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.

p_err

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

FS_ERR_NONE

Working directory set.

FS_ERR_NAME_NULL

Argument path_dir passed a NULL pointer.

FS_ERR_VOL_NONE_EXIST

No volumes exist.

FS_ERR_WORKING_DIR_NONE_AVAIL

No working directories available.

FS_ERR_WORKING_DIR_INVALID

Argument path_dir passed an invalid directory.

Returned Value

None.

Notes/Warnings

None.

  • No labels