Back to index

glibc  2.9
wchar-ldbl.h
Go to the documentation of this file.
00001 /* -mlong-double-64 compatibility mode for <wchar.h> functions.
00002    Copyright (C) 2006, 2007 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 _WCHAR_H
00021 # error "Never include <bits/wchar-ldbl.h> directly; use <wchar.h> instead."
00022 #endif
00023 
00024 #if defined __USE_ISOC95 || defined __USE_UNIX98
00025 __BEGIN_NAMESPACE_C99
00026 __LDBL_REDIR_DECL (fwprintf);
00027 __LDBL_REDIR_DECL (wprintf);
00028 __LDBL_REDIR_DECL (swprintf);
00029 __LDBL_REDIR_DECL (vfwprintf);
00030 __LDBL_REDIR_DECL (vwprintf);
00031 __LDBL_REDIR_DECL (vswprintf);
00032 # if defined __USE_ISOC99 && !defined __USE_GNU \
00033      && !defined __REDIRECT \
00034      && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
00035 __LDBL_REDIR1_DECL (fwscanf, __nldbl___isoc99_fwscanf)
00036 __LDBL_REDIR1_DECL (wscanf, __nldbl___isoc99_wscanf)  
00037 __LDBL_REDIR1_DECL (swscanf, __nldbl___isoc99_swscanf)
00038 # else
00039 __LDBL_REDIR_DECL (fwscanf);
00040 __LDBL_REDIR_DECL (wscanf);
00041 __LDBL_REDIR_DECL (swscanf);
00042 # endif
00043 __END_NAMESPACE_C99
00044 #endif
00045 
00046 #ifdef __USE_ISOC99
00047 __BEGIN_NAMESPACE_C99
00048 __LDBL_REDIR1_DECL (wcstold, wcstod);
00049 # if !defined __USE_GNU && !defined __REDIRECT \
00050      && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
00051 __LDBL_REDIR1_DECL (vfwscanf, __nldbl___isoc99_vfwscanf)
00052 __LDBL_REDIR1_DECL (vwscanf, __nldbl___isoc99_vwscanf)  
00053 __LDBL_REDIR1_DECL (vswscanf, __nldbl___isoc99_vswscanf)
00054 # else
00055 __LDBL_REDIR_DECL (vfwscanf);
00056 __LDBL_REDIR_DECL (vwscanf);
00057 __LDBL_REDIR_DECL (vswscanf);
00058 # endif
00059 __END_NAMESPACE_C99
00060 #endif
00061 
00062 #ifdef __USE_GNU
00063 __LDBL_REDIR1_DECL (wcstold_l, wcstod_l);
00064 #endif
00065 
00066 #if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
00067 __LDBL_REDIR_DECL (__swprintf_chk)
00068 __LDBL_REDIR_DECL (__vswprintf_chk)
00069 # if __USE_FORTIFY_LEVEL > 1
00070 __LDBL_REDIR_DECL (__fwprintf_chk)
00071 __LDBL_REDIR_DECL (__wprintf_chk)
00072 __LDBL_REDIR_DECL (__vfwprintf_chk)
00073 __LDBL_REDIR_DECL (__vwprintf_chk)
00074 # endif
00075 #endif