1 /* ftrylockfile(FILE * )
\r
3 This file is part of the Public Domain C Library (PDCLib).
\r
4 Permission is granted to use, modify, and / or redistribute at will.
\r
11 #include <_PDCLIB_io.h>
\r
12 #include <threads.h>
\r
15 int ftrylockfile( FILE * file )
\r
17 int res = mtx_trylock( &file->lock );
\r
32 #include <_PDCLIB_test.h>
\r
36 // Not tested here - tested by other stdio test drivers
\r
37 return TEST_RESULTS;
\r