Back to index

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

Go to the source code of this file.

Functions

int __ftrylockfile (FILE *stream)

Function Documentation

int __ftrylockfile ( FILE stream)

Definition at line 27 of file ftrylockfile.c.

{
  return _IO_lock_trylock (*stream->_lock);
}