File:  [DVB] / dietlibc / libpthread / pthread_fflush.c
Revision 1.1: download - view: text, annotated - select for diffs
Tue Nov 4 18:09:42 2003 UTC (20 years, 7 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
some more _unlocked functions

#include <dietstdio.h>

int fflush(FILE *stream) {
  int tmp;
  if (stream) pthread_mutex_lock(&stream->m);
  tmp=fflush_unlocked(stream);
  if (stream) pthread_mutex_unlock(&stream->m);
  return tmp;
}

LinuxTV legacy CVS <linuxtv.org/cvs>