Back to index

glibc  2.9
Functions
flockfile.c File Reference
#include <pthread.h>
#include <stdio.h>
#include <libio.h>
#include <bits/stdio-lock.h>

Go to the source code of this file.

Functions

void __flockfile (FILE *stream)

Function Documentation

void __flockfile ( FILE stream)

Definition at line 27 of file flockfile.c.

{
  _IO_lock_lock (*stream->_lock);
}