SYNOPSIS
#include <stdio.h>
int ftrylockfile(FILE *file);
DESCRIPTION
The
Logically, there is a lock count associated with each (FILE *)
object. This count is implicitly initialized to zero when the object
is created. The object is unlocked when the count is zero.
When the count is positive, a single thread owns the object.
When
All functions that reference (FILE *) objects behave as if
they use
PARAMETERS
RETURN VALUES
On success,
CONFORMANCE
POSIX.1 (1996).
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
fclose() ,fdopen() ,flockfile() ,fopen() ,funlockfile() ,getc_unlocked() ,getchar_unlocked() ,putc_unlocked() ,putchar_unlocked()
PTC MKS Toolkit 10.5 Documentation Build 40.