PowerPC: Add functions for shared resources hints.
[glibc.git] / include / libio.h
blob735941d23078f99b7d11a9c5f2a9116b2918b9ec
1 #include <libio/libio.h>
3 #ifndef _ISOMAC
4 #ifndef _LIBC_LIBIO_H
5 #define _LIBC_LIBIO_H
7 libc_hidden_proto (__overflow)
8 libc_hidden_proto (__underflow)
9 libc_hidden_proto (__uflow)
10 libc_hidden_proto (__woverflow)
11 libc_hidden_proto (__wunderflow)
12 libc_hidden_proto (__wuflow)
13 libc_hidden_proto (_IO_free_backup_area)
14 libc_hidden_proto (_IO_free_wbackup_area)
15 libc_hidden_proto (_IO_padn)
16 libc_hidden_proto (_IO_putc)
17 libc_hidden_proto (_IO_sgetn)
18 libc_hidden_proto (_IO_vfprintf)
19 libc_hidden_proto (_IO_vfscanf)
21 #if defined _IO_MTSAFE_IO && _IO_lock_inexpensive
22 # undef _IO_flockfile
23 # define _IO_flockfile(_fp) \
24 if (((_fp)->_flags & _IO_USER_LOCK) == 0) \
25 _IO_lock_lock (*(_fp)->_lock)
26 # undef _IO_funlockfile
27 # define _IO_funlockfile(_fp) \
28 if (((_fp)->_flags & _IO_USER_LOCK) == 0) \
29 _IO_lock_unlock (*(_fp)->_lock)
30 #endif
32 #endif
33 #endif