Back to index

glibc  2.9
stdio-ldbl.h
Go to the documentation of this file.
00001 /* -mlong-double-64 compatibility mode for stdio functions.
00002    Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
00003    This file is part of the GNU C Library.
00004 
00005    The GNU C Library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Lesser General Public
00007    License as published by the Free Software Foundation; either
00008    version 2.1 of the License, or (at your option) any later version.
00009 
00010    The GNU C Library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Lesser General Public License for more details.
00014 
00015    You should have received a copy of the GNU Lesser General Public
00016    License along with the GNU C Library; if not, write to the Free
00017    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00018    02111-1307 USA.  */
00019 
00020 #ifndef _STDIO_H
00021 # error "Never include <bits/stdio-ldbl.h> directly; use <stdio.h> instead."
00022 #endif
00023 
00024 __BEGIN_NAMESPACE_STD
00025 __LDBL_REDIR_DECL (fprintf)
00026 __LDBL_REDIR_DECL (printf)
00027 __LDBL_REDIR_DECL (sprintf)
00028 __LDBL_REDIR_DECL (vfprintf)
00029 __LDBL_REDIR_DECL (vprintf)
00030 __LDBL_REDIR_DECL (vsprintf)
00031 #if defined __USE_ISOC99 && !defined __USE_GNU \
00032     && !defined __REDIRECT \
00033     && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
00034 __LDBL_REDIR1_DECL (fscanf, __nldbl___isoc99_fscanf)
00035 __LDBL_REDIR1_DECL (scanf, __nldbl___isoc99_scanf)
00036 __LDBL_REDIR1_DECL (sscanf, __nldbl___isoc99_sscanf)
00037 #else
00038 __LDBL_REDIR_DECL (fscanf)
00039 __LDBL_REDIR_DECL (scanf)
00040 __LDBL_REDIR_DECL (sscanf)
00041 #endif
00042 __END_NAMESPACE_STD
00043 
00044 #if defined __USE_BSD || defined __USE_ISOC99 || defined __USE_UNIX98
00045 __BEGIN_NAMESPACE_C99
00046 __LDBL_REDIR_DECL (snprintf)
00047 __LDBL_REDIR_DECL (vsnprintf)
00048 __END_NAMESPACE_C99
00049 #endif
00050 
00051 #ifdef __USE_ISOC99
00052 __BEGIN_NAMESPACE_C99
00053 # if !defined __USE_GNU && !defined __REDIRECT \
00054      && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
00055 __LDBL_REDIR1_DECL (vfscanf, __nldbl___isoc99_vfscanf)
00056 __LDBL_REDIR1_DECL (vscanf, __nldbl___isoc99_vscanf)
00057 __LDBL_REDIR1_DECL (vsscanf, __nldbl___isoc99_vsscanf)
00058 # else
00059 __LDBL_REDIR_DECL (vfscanf)
00060 __LDBL_REDIR_DECL (vsscanf)
00061 __LDBL_REDIR_DECL (vscanf)
00062 # endif
00063 __END_NAMESPACE_C99
00064 #endif
00065 
00066 #ifdef __USE_GNU
00067 __LDBL_REDIR_DECL (vdprintf)
00068 __LDBL_REDIR_DECL (dprintf)
00069 __LDBL_REDIR_DECL (vasprintf)
00070 __LDBL_REDIR_DECL (__asprintf)
00071 __LDBL_REDIR_DECL (asprintf)
00072 __LDBL_REDIR_DECL (obstack_printf)
00073 __LDBL_REDIR_DECL (obstack_vprintf)
00074 #endif
00075 
00076 #if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
00077 __LDBL_REDIR_DECL (__sprintf_chk)
00078 __LDBL_REDIR_DECL (__vsprintf_chk)
00079 # if defined __USE_BSD || defined __USE_ISOC99 || defined __USE_UNIX98
00080 __LDBL_REDIR_DECL (__snprintf_chk)
00081 __LDBL_REDIR_DECL (__vsnprintf_chk)
00082 # endif
00083 # if __USE_FORTIFY_LEVEL > 1
00084 __LDBL_REDIR_DECL (__fprintf_chk)
00085 __LDBL_REDIR_DECL (__printf_chk)
00086 __LDBL_REDIR_DECL (__vfprintf_chk)
00087 __LDBL_REDIR_DECL (__vprintf_chk)
00088 #  ifdef __USE_GNU
00089 __LDBL_REDIR_DECL (__asprintf_chk)
00090 __LDBL_REDIR_DECL (__vasprintf_chk)
00091 __LDBL_REDIR_DECL (__dprintf_chk)
00092 __LDBL_REDIR_DECL (__vdprintf_chk)
00093 __LDBL_REDIR_DECL (__obstack_printf_chk)
00094 __LDBL_REDIR_DECL (__obstack_vprintf_chk)
00095 #  endif
00096 # endif
00097 #endif