Fix country_name in nds_NL
[glibc.git] / include / libio.h
blobd2fa7967586de4a9918d91fb18f621df623117cb
1 #if !defined _ISOMAC && defined _IO_MTSAFE_IO
2 # include <stdio-lock.h>
3 #endif
4 #include <libio/libio.h>
6 #ifndef _ISOMAC
7 #ifndef _LIBC_LIBIO_H
8 #define _LIBC_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 #ifdef _IO_MTSAFE_IO
25 # undef _IO_peekc
26 # undef _IO_flockfile
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)
36 # else
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)
41 # endif
42 #endif /* _IO_MTSAFE_IO */
44 #endif
45 #endif