1 #include <libio/libio.h> 2 3 #ifndef _LIBC_LIBIO_H 4 #define _LIBC_LIBIO_H 5 6 libc_hidden_proto (__overflow) 7 libc_hidden_proto (__underflow) 8 libc_hidden_proto (__uflow) 9 libc_hidden_proto (__woverflow) 10 libc_hidden_proto (__wunderflow) 11 libc_hidden_proto (__wuflow) 12 13 #if defined _IO_MTSAFE_IO && _IO_lock_inexpensive 14 # undef _IO_flockfile 15 # define _IO_flockfile(_fp) \ 16 if (((_fp)->_flags & _IO_USER_LOCK) == 0) \ 17 _IO_lock_lock (*(_fp)->_lock) 18 # undef _IO_funlockfile 19 # define _IO_funlockfile(_fp) \ 20 if (((_fp)->_flags & _IO_USER_LOCK) == 0) \ 21 _IO_lock_unlock (*(_fp)->_lock) 22 #endif 23 24 #endif 25