...
Code Block | ||
---|---|---|
| ||
void FS_WorkingDirGet (CPU_CHAR *path_dir, |
...
CPU_SIZE_T |
...
size, FS_ERR *p_err); |
...
HTML Table | |
---|---|
summary | |
class | Plain_Table | Table Row (tr) | Table Cell (td) | Anchor | | 1109470 | 1109470
File |
---|
...
Called from |
---|
...
Code enabled by |
---|
...
...
|
...
Application; |
...
...
fs_getcwd() |
...
|
...
Arguments
...
path_dir
String buffer that will receive the working directory path.
...
size
anchor
Size of string buffer.
Anchor
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
...
class | WebWorks_Indent_2 |
---|
...
No volumes exist.
...
Returned Value
...
None. Anchor
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.