Code Block |
---|
void FSFile_LockGet (FS_FILE *p_file, |
...
FS_ERR *p_err); |
File | Called from | Code enabled by |
---|---|---|
| Application; |
|
Acquire task ownership of a file.
See fs_flockfile()
for for more information.
Arguments
...
Pointer to variable that will the receive return error code from this function:
FS_ERR_NONE
File lock acquired.
FS_ERR_NULL_PTR
Argument p_file
passed a NULL pointer.
FS_ERR_INVALID_TYPE
Argument p_file
's type is invalid or unknown.
FS_ERR_FILE_NOT_OPEN
File not open.
Returned Value
None.
Notes/Warnings
...