fs_getcwd()

char  *fs_getcwd (char       *path_dir,
                  fs_size_t   size)

File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN and not FS_CFG_WORKING_DIR_EN

Get the working directory for the current task.

Arguments

path_dir

String buffer that will receive the working directory path.

size

Size of string buffer.

Returned Value

Pointer to path_dir, if no error occurs.

Pointer to NULL, otherwise

Notes/Warnings

None.