CTL_STATUS_t ctl_ms_change_current_folder(const char *path);

ctl_ms_change_current_folder changes the current working folder of the task to path.

Return Value

ctl_ms_change_current_folder returns a standard status code.

Thread Safety

ctl_ms_change_current_folder is thread-safe. However, note that the current folder for a volume is shared between all threads, so changing the current folder in one thread will affect the current folder of all threads.