/
fs_ftrylockfile()
fs_ftrylockfile()
int fs_ftrylockfile (FS_FILE *p_file);
File | Called from | Code enabled by |
---|---|---|
| Application |
|
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
fs_ftrylockfile()
is the non-blocking version offs_flockfile()
; if the lock is not available, the function returns an error.- See
fs_flockfile()
.
, multiple selections available,
Related content
fs_ftell()
fs_ftell()
More like this
fs_funlockfile()
fs_funlockfile()
More like this
fs_fclose()
fs_fclose()
More like this
fs_flockfile()
fs_flockfile()
More like this
FSFile_PosSet()
FSFile_PosSet()
More like this
FSFile_LockSet()
FSFile_LockSet()
More like this