 |
Index for Section 3 |
|
 |
Alphabetical listing for F |
|
funlockfile(3)
NAME
funlockfile - Unlocks a stdio stream
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <stdio.h>
void funlockfile(
FILE * file);
STANDARDS
Interfaces documented on this reference page conform to industry standards
as follows:
funlockfile, POSIX.1c
Refer to the standards(5) reference page for more information about
industry standards and associated tags.
PARAMETERS
file Specifies the stream to be unlocked.
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 file parameter is not pointer to a valid
FILE structure.
RELATED INFORMATION
Functions: flockfile(3), getc_unlocked(3), putc_unlocked(3)