Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.

FSFile_LockSet()

void FSFile_LockSet (FS_FILE *p_file,

FS_ERR *p_err);

 

File

Called from

Code enabled by

fs_file.c

Application;

fs_funlockfile()

FS_CFG_FILE_LOCK_EN

Release task ownership of a file.

See fs_funlockfile() for more information.

Arguments

p_file

Pointer to a file.

p_err

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.
FS_ERR_FILE_NOT_LOCKED
File not locked or locked by different task.

Returned Value

None.

Notes/Warnings

None.

  • No labels