Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Code Block
languagecpp
void  FSFile_LockSet (FS_FILE  *p_file,

...


                      FS_ERR   *p_err);

...

...


...

File

...

...

Called from

...

Code enabled by

...

rowspan2

...

fs_file.c

...

rowspan2

...

Application;

...


...

fs_funlockfile()

...

rowspan2

...

...

FS_CFG_FILE_LOCK_EN

...

Release task ownership of a file. Anchor10933691093369

See fs_funlockfile() for  for more information. Anchor11052471105247

Arguments

...

p_file Anchor11430451143045

Pointer to a file.

Anchor10933721093372p_err Anchor11430521143052

Pointer to variable that will the receive return error code from this function:

...

classWebWorks_Indent_1

...

FS_ERR_NONE

...

...

classWebWorks_Indent_2

...

File lock acquired.

...

classWebWorks_Indent_1

...

...

FS_ERR_NULL_PTR

...

...

Argument p_file passed a NULL pointer.

...

...

FS_ERR_INVALID_TYPE

...

classWebWorks_Indent_2

...

Argument p_file's type is invalid or unknown.

...

classWebWorks_Indent_1

...

...

FS_ERR_FILE_NOT_OPEN

...

...

File not open.

...

...

FS_ERR_FILE_NOT_LOCKED

...

classWebWorks_Indent_2

...

File not locked or locked by different task.

...

...

Returned Value

...

None.anchor11006331100633

Notes/Warnings

...

None.