File:  [DVB] / dietlibc / libpthread / pthread_ftrylockfile.c
Revision 1.1: download - view: text, annotated - select for diffs
Sat Jan 3 02:17:32 2004 UTC (20 years, 5 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
add ftrylockfile

#include "dietstdio.h"

int ftrylockfile(FILE* f) {
  return pthread_mutex_trylock(&f->m);
}

LinuxTV legacy CVS <linuxtv.org/cvs>