]> git.ipfire.org Git - thirdparty/glibc.git/blob - libio/bits/stdio-ldbl.h
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / libio / bits / stdio-ldbl.h
1 /* -mlong-double-64 compatibility mode for stdio functions.
2 Copyright (C) 2006-2019 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4
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.
9
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.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */
18
19 #ifndef _STDIO_H
20 # error "Never include <bits/stdio-ldbl.h> directly; use <stdio.h> instead."
21 #endif
22
23 __LDBL_REDIR_DECL (fprintf)
24 __LDBL_REDIR_DECL (printf)
25 __LDBL_REDIR_DECL (sprintf)
26 __LDBL_REDIR_DECL (vfprintf)
27 __LDBL_REDIR_DECL (vprintf)
28 __LDBL_REDIR_DECL (vsprintf)
29 #if !__GLIBC_USE (DEPRECATED_SCANF)
30 __LDBL_REDIR1_DECL (fscanf, __nldbl___isoc99_fscanf)
31 __LDBL_REDIR1_DECL (scanf, __nldbl___isoc99_scanf)
32 __LDBL_REDIR1_DECL (sscanf, __nldbl___isoc99_sscanf)
33 #else
34 __LDBL_REDIR_DECL (fscanf)
35 __LDBL_REDIR_DECL (scanf)
36 __LDBL_REDIR_DECL (sscanf)
37 #endif
38
39 #if defined __USE_ISOC99 || defined __USE_UNIX98
40 __LDBL_REDIR_DECL (snprintf)
41 __LDBL_REDIR_DECL (vsnprintf)
42 #endif
43
44 #ifdef __USE_ISOC99
45 # if !__GLIBC_USE (DEPRECATED_SCANF)
46 __LDBL_REDIR1_DECL (vfscanf, __nldbl___isoc99_vfscanf)
47 __LDBL_REDIR1_DECL (vscanf, __nldbl___isoc99_vscanf)
48 __LDBL_REDIR1_DECL (vsscanf, __nldbl___isoc99_vsscanf)
49 # else
50 __LDBL_REDIR_DECL (vfscanf)
51 __LDBL_REDIR_DECL (vsscanf)
52 __LDBL_REDIR_DECL (vscanf)
53 # endif
54 #endif
55
56 #ifdef __USE_XOPEN2K8
57 __LDBL_REDIR_DECL (vdprintf)
58 __LDBL_REDIR_DECL (dprintf)
59 #endif
60
61 #ifdef __USE_GNU
62 __LDBL_REDIR_DECL (vasprintf)
63 __LDBL_REDIR_DECL (__asprintf)
64 __LDBL_REDIR_DECL (asprintf)
65 __LDBL_REDIR_DECL (obstack_printf)
66 __LDBL_REDIR_DECL (obstack_vprintf)
67 #endif
68
69 #if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
70 __LDBL_REDIR_DECL (__sprintf_chk)
71 __LDBL_REDIR_DECL (__vsprintf_chk)
72 # if defined __USE_ISOC99 || defined __USE_UNIX98
73 __LDBL_REDIR_DECL (__snprintf_chk)
74 __LDBL_REDIR_DECL (__vsnprintf_chk)
75 # endif
76 # if __USE_FORTIFY_LEVEL > 1
77 __LDBL_REDIR_DECL (__fprintf_chk)
78 __LDBL_REDIR_DECL (__printf_chk)
79 __LDBL_REDIR_DECL (__vfprintf_chk)
80 __LDBL_REDIR_DECL (__vprintf_chk)
81 # ifdef __USE_XOPEN2K8
82 __LDBL_REDIR_DECL (__dprintf_chk)
83 __LDBL_REDIR_DECL (__vdprintf_chk)
84 # endif
85 # ifdef __USE_GNU
86 __LDBL_REDIR_DECL (__asprintf_chk)
87 __LDBL_REDIR_DECL (__vasprintf_chk)
88 __LDBL_REDIR_DECL (__obstack_printf_chk)
89 __LDBL_REDIR_DECL (__obstack_vprintf_chk)
90 # endif
91 # endif
92 #endif