|
|
#include <stdio.h>
void funlockfile(FILE file);
funlockfile relinquishes ownership granted to the thread via a previous successful call to flockfile or ftrylockfile.
A thread can nest calls to flockfile or ftrylockfile as long as each successful call has a corresponding funlockfile call to relinquish ownership completely.
The behavior is undefined if funlockfile is called without a matching successful call to flockfile or ftrylockfile.