Versions Compared

Key

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


Code Block
languagecpp
int fs_chdir (const  char  *path_dir);


File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN and FS_CFG_WORKING_DIR_EN

Set the working directory for the current task.

Arguments

path_dir

String buffer that specifies either...

    • the absolute working directory path to set;
    • relative path that will be applied to the current working directory.

Returned Value

0, if no error occurs.

-1, otherwise

Notes/Warnings

None.

Code Block
int fs_chdir (const  char  *path_dir);


File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN and FS_CFG_WORKING_DIR_EN

Set the working directory for the current task.

Arguments

path_dir

String buffer that specifies either...

    • the absolute working directory path to set;
    • relative path that will be applied to the current working directory.

Returned Value

0, if no error occurs.

-1, otherwise

Notes/Warnings

None.