1 /* -mlong-double-64 compatibility mode for stdio functions.
2 Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 # error "Never include <bits/stdio-ldbl.h> directly; use <stdio.h> instead."
25 __LDBL_REDIR_DECL (fprintf
)
26 __LDBL_REDIR_DECL (printf
)
27 __LDBL_REDIR_DECL (sprintf
)
28 __LDBL_REDIR_DECL (vfprintf
)
29 __LDBL_REDIR_DECL (vprintf
)
30 __LDBL_REDIR_DECL (vsprintf
)
31 #if defined __USE_ISOC99 && !defined __USE_GNU \
32 && !defined __REDIRECT \
33 && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
34 __LDBL_REDIR1_DECL (fscanf
, __nldbl___isoc99_fscanf
)
35 __LDBL_REDIR1_DECL (scanf
, __nldbl___isoc99_scanf
)
36 __LDBL_REDIR1_DECL (sscanf
, __nldbl___isoc99_sscanf
)
38 __LDBL_REDIR_DECL (fscanf
)
39 __LDBL_REDIR_DECL (scanf
)
40 __LDBL_REDIR_DECL (sscanf
)
44 #if defined __USE_BSD || defined __USE_ISOC99 || defined __USE_UNIX98
46 __LDBL_REDIR_DECL (snprintf
)
47 __LDBL_REDIR_DECL (vsnprintf
)
53 # if !defined __USE_GNU && !defined __REDIRECT \
54 && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
55 __LDBL_REDIR1_DECL (vfscanf
, __nldbl___isoc99_vfscanf
)
56 __LDBL_REDIR1_DECL (vscanf
, __nldbl___isoc99_vscanf
)
57 __LDBL_REDIR1_DECL (vsscanf
, __nldbl___isoc99_vsscanf
)
59 __LDBL_REDIR_DECL (vfscanf
)
60 __LDBL_REDIR_DECL (vsscanf
)
61 __LDBL_REDIR_DECL (vscanf
)
67 __LDBL_REDIR_DECL (vdprintf
)
68 __LDBL_REDIR_DECL (dprintf
)
69 __LDBL_REDIR_DECL (vasprintf
)
70 __LDBL_REDIR_DECL (__asprintf
)
71 __LDBL_REDIR_DECL (asprintf
)
72 __LDBL_REDIR_DECL (obstack_printf
)
73 __LDBL_REDIR_DECL (obstack_vprintf
)
76 #if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
77 __LDBL_REDIR_DECL (__sprintf_chk
)
78 __LDBL_REDIR_DECL (__vsprintf_chk
)
79 # if defined __USE_BSD || defined __USE_ISOC99 || defined __USE_UNIX98
80 __LDBL_REDIR_DECL (__snprintf_chk
)
81 __LDBL_REDIR_DECL (__vsnprintf_chk
)
83 # if __USE_FORTIFY_LEVEL > 1
84 __LDBL_REDIR_DECL (__fprintf_chk
)
85 __LDBL_REDIR_DECL (__printf_chk
)
86 __LDBL_REDIR_DECL (__vfprintf_chk
)
87 __LDBL_REDIR_DECL (__vprintf_chk
)
89 __LDBL_REDIR_DECL (__asprintf_chk
)
90 __LDBL_REDIR_DECL (__vasprintf_chk
)
91 __LDBL_REDIR_DECL (__dprintf_chk
)
92 __LDBL_REDIR_DECL (__vdprintf_chk
)
93 __LDBL_REDIR_DECL (__obstack_printf_chk
)
94 __LDBL_REDIR_DECL (__obstack_vprintf_chk
)