FUNLOCKFILE(3S) SysV FUNLOCKFILE(3S)
NAME
funlockfile - unlock a stdio stream
SYNOPSIS
#include <stdio.h>
void funlockfile (FILE * stream );
DESCRIPTION
The funlockfile function unlocks a stdio stream, causing the thread that
had been holding the lock to relinquish exclusive use of the stream.
Matching flockfile and funlockfile calls can be nested. If the stream has
been locked recursively, then it will remain locked until the last
matching funlockfile is called.
Behavior is unspecified if the stream argument is not pointer to a valid
FILE structure.
SEE ALSO
flockfile(3S), unlocked_getc(3S), unlocked_putc(3S)