2003-04-22 Roland McGrath <roland@redhat.com>
[glibc.git] / include / libio.h
blob633ee51bb7f856eb0f6376032ada1cbe52e5bbaa
1 #include <libio/libio.h>
3 #ifndef _LIBC_LIBIO_H
4 #define _LIBC_LIBIO_H
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)
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
24 #endif