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
)
24 #if defined _IO_MTSAFE_IO && _IO_lock_inexpensive
26 # define _IO_flockfile(_fp) \
27 if (((_fp)->_flags & _IO_USER_LOCK) == 0) \
28 _IO_lock_lock (*(_fp)->_lock)
29 # undef _IO_funlockfile
30 # define _IO_funlockfile(_fp) \
31 if (((_fp)->_flags & _IO_USER_LOCK) == 0) \
32 _IO_lock_unlock (*(_fp)->_lock)