1 #if !defined _ISOMAC && defined _IO_MTSAFE_IO
2 # include <stdio-lock.h>
4 #include <libio/libio.h>
10 libc_hidden_proto (__overflow
)
11 libc_hidden_proto (__underflow
)
12 libc_hidden_proto (__uflow
)
13 libc_hidden_proto (__woverflow
)
14 libc_hidden_proto (__wunderflow
)
15 libc_hidden_proto (__wuflow
)
16 libc_hidden_proto (_IO_free_backup_area
)
17 libc_hidden_proto (_IO_free_wbackup_area
)
18 libc_hidden_proto (_IO_padn
)
19 libc_hidden_proto (_IO_putc
)
20 libc_hidden_proto (_IO_sgetn
)
21 libc_hidden_proto (_IO_vfprintf
)
22 libc_hidden_proto (_IO_vfscanf
)
27 # undef _IO_funlockfile
28 # undef _IO_ftrylockfile
30 # define _IO_peekc(_fp) _IO_peekc_locked (_fp)
31 # if _IO_lock_inexpensive
32 # define _IO_flockfile(_fp) \
33 if (((_fp)->_flags & _IO_USER_LOCK) == 0) _IO_lock_lock (*(_fp)->_lock)
34 # define _IO_funlockfile(_fp) \
35 if (((_fp)->_flags & _IO_USER_LOCK) == 0) _IO_lock_unlock (*(_fp)->_lock)
37 # define _IO_flockfile(_fp) \
38 if (((_fp)->_flags & _IO_USER_LOCK) == 0) _IO_flockfile (_fp)
39 # define _IO_funlockfile(_fp) \
40 if (((_fp)->_flags & _IO_USER_LOCK) == 0) _IO_funlockfile (_fp)
42 #endif /* _IO_MTSAFE_IO */