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