Manual Page Result
0
Command: funlockfile | Section: 3 | Source: Digital UNIX | File: funlockfile.3.gz
funlockfile(3) Library Functions Manual 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 stan-
dards as follows:
funlockfile, POSIX.1c
Refer to the standards(5) reference page for more information about in-
dustry standards and associated tags.
PARAMETERS
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) delim off
funlockfile(3)