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 7 Next »

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.

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.

  • No labels