Versions Compared

Key

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

...

void  FSFile_LockGet (FS_FILE  *p_file,

...

                      FS_ERR   *p_err);

...

File

...

Called from

...

rowspan2

...

Code enabled by

...

fs_file.c

...

rowspan2

...

...

Application;

...

fs_flockfile()

...

...

FS_CFG_FILE_LOCK_EN

...

Acquire task ownership of a file. Anchor10933491093349

See fs_flockfile() for more information. Anchor11052351105235

Arguments

...

p_file Anchor11429961142996

Pointer to a file.

...

p_err Anchor11430031143003

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.

...

classWebWorks_Indent_1

...

FS_ERR_INVALID_TYPE

...

classWebWorks_Indent_2

...

Argument p_file's type is invalid or unknown.

...

...

FS_ERR_FILE_NOT_OPEN

...

classWebWorks_Indent_2

...

File not open.

...

Returned Value

...

None. Anchor11006211100621

Notes/Warnings

...

None.