Content-type: text/html Man page of funlockfile

funlockfile

Section: C Library Functions (3)
Index Return to Main Contents
 

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

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


 

Index

NAME
LIBRARY
SYNOPSIS
STANDARDS
PARAMETERS
DESCRIPTION
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:00 GMT, October 02, 2010