...
void FS_WorkingDirGet (CPU_CHAR *path_dir,
...
CPU_SIZE_T size,
...
FS_ERR *p_err);
...
...
File |
...
Called from |
...
Code enabled by |
...
|
...
Application; |
...
|
...
|
Anchor
Arguments
...
path_dir
Anchor
String buffer that will receive the working directory path.
...
size
1140371 Anchor
Size of string buffer.
...
p_err
Pointer to variable that will receive the return error code from this function:
...
class | WebWorks_Indent_1 |
---|
...
...
FS_ERR_NONE
...
class | WebWorks_Indent_2 |
---|
...
Working directory obtained.
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_NULL_PTR
...
class | WebWorks_Indent_2 |
---|
...
...
Argument path_dir passed a NULL pointer.
...
...
FS_ERR_NULL_ARG
...
class | WebWorks_Indent_2 |
---|
...
Argument size passed a NULL value.
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_NAME_BUF_TOO_SHORT
...
class | WebWorks_Indent_2 |
---|
...
...
Argument size less than length of path
...
class | WebWorks_Indent_1 |
---|
...
FS_ERR_VOL_NONE_EXIST
...
...
No volumes exist.
...
Returned Value
...
Notes/Warnings
...
If no working directory is assigned for the task, the default working directory—the root directory on the default volume—will be returned in the user buffer and set as the task’s working directory.