Back to index

glibc  2.9
libio.h
Go to the documentation of this file.
00001 #include <libio/libio.h>
00002 
00003 #ifndef _LIBC_LIBIO_H
00004 #define _LIBC_LIBIO_H
00005 
00006 libc_hidden_proto (__overflow)
00007 libc_hidden_proto (__underflow)
00008 libc_hidden_proto (__uflow)
00009 libc_hidden_proto (__woverflow)
00010 libc_hidden_proto (__wunderflow)
00011 libc_hidden_proto (__wuflow)
00012 
00013 #if defined _IO_MTSAFE_IO && _IO_lock_inexpensive
00014 # undef _IO_flockfile
00015 # define _IO_flockfile(_fp) \
00016   if (((_fp)->_flags & _IO_USER_LOCK) == 0)                                 \
00017      _IO_lock_lock (*(_fp)->_lock)
00018 # undef _IO_funlockfile
00019 # define _IO_funlockfile(_fp) \
00020   if (((_fp)->_flags & _IO_USER_LOCK) == 0)                                 \
00021     _IO_lock_unlock (*(_fp)->_lock)
00022 #endif
00023 
00024 #endif