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

« Previous Version 8 Current »

File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN and FS_CFG_FILE_LOCK_EN

Acquire task ownership of a file (if available).

Arguments

p_file

Pointer to a file.

Returned Value

0, if no error occurs and the file lock is acquired.

Non-zero value, otherwise.

Notes/Warnings

  1. fs_ftrylockfile() is the non-blocking version of fs_flockfile(); if the lock is not available, the function returns an error.
  2. See fs_flockfile().
  • No labels