source: asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/funlockfile.c@ 337

Last change on this file since 337 was 337, checked in by coas-nagasima, 6 years ago

ASP3版ECNLを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 240 bytes
Line 
1#include "stdio_impl.h"
2#include "pthread_impl.h"
3
4void __unlist_locked_file(FILE *);
5
6void funlockfile(FILE *f)
7{
8 if (f->lockcount == 1) {
9 __unlist_locked_file(f);
10 f->lockcount = 0;
11 __unlockfile(f);
12 } else {
13 f->lockcount--;
14 }
15}
Note: See TracBrowser for help on using the repository browser.