📄 nldbl-compat.c
字号:
va_start (arg, fmt); done = __nldbl___vsnprintf_chk (s, maxlen, flag, slen, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___sprintf_chk (char *s, int flag, size_t slen, const char *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___vsprintf_chk (s, flag, slen, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___swprintf_chk (wchar_t *s, size_t n, int flag, size_t slen, const wchar_t *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___vswprintf_chk (s, n, flag, slen, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___vfprintf_chk (FILE *s, int flag, const char *fmt, va_list ap){ int res; set_no_long_double (); res = __vfprintf_chk (s, flag, fmt, ap); clear_no_long_double (); return res;}libc_hidden_def (__nldbl___vfprintf_chk)intattribute_compat_text_section__nldbl___vfwprintf_chk (FILE *s, int flag, const wchar_t *fmt, va_list ap){ int res; set_no_long_double (); res = __vfwprintf_chk (s, flag, fmt, ap); clear_no_long_double (); return res;}libc_hidden_def (__nldbl___vfwprintf_chk)intattribute_compat_text_section__nldbl___vprintf_chk (int flag, const char *fmt, va_list ap){ return __nldbl___vfprintf_chk (stdout, flag, fmt, ap);}intattribute_compat_text_section__nldbl___vsnprintf_chk (char *string, size_t maxlen, int flag, size_t slen, const char *fmt, va_list ap){ int res; __no_long_double = 1; res = __vsnprintf_chk (string, maxlen, flag, slen, fmt, ap); __no_long_double = 0; return res;}libc_hidden_def (__nldbl___vsnprintf_chk)intattribute_compat_text_section__nldbl___vsprintf_chk (char *string, int flag, size_t slen, const char *fmt, va_list ap){ int res; __no_long_double = 1; res = __vsprintf_chk (string, flag, slen, fmt, ap); __no_long_double = 0; return res;}libc_hidden_def (__nldbl___vsprintf_chk)intattribute_compat_text_section__nldbl___vswprintf_chk (wchar_t *string, size_t maxlen, int flag, size_t slen, const wchar_t *fmt, va_list ap){ int res; __no_long_double = 1; res = __vswprintf_chk (string, maxlen, flag, slen, fmt, ap); __no_long_double = 0; return res;}libc_hidden_def (__nldbl___vswprintf_chk)intattribute_compat_text_section__nldbl___vwprintf_chk (int flag, const wchar_t *fmt, va_list ap){ return __nldbl___vfwprintf_chk (stdout, flag, fmt, ap);}intattribute_compat_text_section__nldbl___wprintf_chk (int flag, const wchar_t *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___vfwprintf_chk (stdout, flag, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___vasprintf_chk (char **ptr, int flag, const char *fmt, va_list arg){ int res; __no_long_double = 1; res = __vasprintf_chk (ptr, flag, fmt, arg); __no_long_double = 0; return res;}libc_hidden_def (__nldbl___vasprintf_chk)intattribute_compat_text_section__nldbl___asprintf_chk (char **ptr, int flag, const char *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___vasprintf_chk (ptr, flag, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___vdprintf_chk (int d, int flag, const char *fmt, va_list arg){ int res; set_no_long_double (); res = __vdprintf_chk (d, flag, fmt, arg); clear_no_long_double (); return res;}libc_hidden_def (__nldbl___vdprintf_chk)intattribute_compat_text_section__nldbl___dprintf_chk (int d, int flag, const char *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___vdprintf_chk (d, flag, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___obstack_vprintf_chk (struct obstack *obstack, int flag, const char *fmt, va_list arg){ int res; __no_long_double = 1; res = __obstack_vprintf_chk (obstack, flag, fmt, arg); __no_long_double = 0; return res;}libc_hidden_def (__nldbl___obstack_vprintf_chk)intattribute_compat_text_section__nldbl___obstack_printf_chk (struct obstack *obstack, int flag, const char *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___obstack_vprintf_chk (obstack, flag, fmt, arg); va_end (arg); return done;}extern __typeof (printf_size) __printf_size;intattribute_compat_text_section__nldbl_printf_size (FILE *fp, const struct printf_info *info, const void *const *args){ struct printf_info info_no_ldbl = *info; info_no_ldbl.is_long_double = 0; return __printf_size (fp, &info_no_ldbl, args);}extern __typeof (__printf_fp) ___printf_fp;intattribute_compat_text_section__nldbl___printf_fp (FILE *fp, const struct printf_info *info, const void *const *args){ struct printf_info info_no_ldbl = *info; info_no_ldbl.is_long_double = 0; return ___printf_fp (fp, &info_no_ldbl, args);}ssize_tattribute_compat_text_section__nldbl_strfmon (char *s, size_t maxsize, const char *format, ...){ va_list ap; ssize_t res; va_start (ap, format); res = __nldbl___vstrfmon (s, maxsize, format, ap); va_end (ap); return res;}ssize_tattribute_compat_text_section__nldbl___strfmon_l (char *s, size_t maxsize, __locale_t loc, const char *format, ...){ va_list ap; ssize_t res; va_start (ap, format); res = __nldbl___vstrfmon_l (s, maxsize, loc, format, ap); va_end (ap); return res;}weak_alias (__nldbl___strfmon_l, __nldbl_strfmon_l)ssize_tattribute_compat_text_section__nldbl___vstrfmon (char *s, size_t maxsize, const char *format, va_list ap){ ssize_t res; __no_long_double = 1; res = __vstrfmon_l (s, maxsize, _NL_CURRENT_LOCALE, format, ap); __no_long_double = 0; va_end (ap); return res;}libc_hidden_def (__nldbl___vstrfmon)ssize_tattribute_compat_text_section__nldbl___vstrfmon_l (char *s, size_t maxsize, __locale_t loc, const char *format, va_list ap){ ssize_t res; __no_long_double = 1; res = __vstrfmon_l (s, maxsize, loc, format, ap); __no_long_double = 0; va_end (ap); return res;}libc_hidden_def (__nldbl___vstrfmon_l)voidattribute_compat_text_section__nldbl_syslog (int pri, const char *fmt, ...){ va_list ap; va_start (ap, fmt); __nldbl___vsyslog_chk (pri, -1, fmt, ap); va_end (ap);}voidattribute_compat_text_section__nldbl___syslog_chk (int pri, int flag, const char *fmt, ...){ va_list ap; va_start (ap, fmt); __nldbl___vsyslog_chk (pri, flag, fmt, ap); va_end(ap);}voidattribute_compat_text_section__nldbl___vsyslog_chk (int pri, int flag, const char *fmt, va_list ap){ set_no_long_double (); __vsyslog_chk (pri, flag, fmt, ap); clear_no_long_double ();}libc_hidden_def (__nldbl___vsyslog_chk)voidattribute_compat_text_section__nldbl_vsyslog (int pri, const char *fmt, va_list ap){ __nldbl___vsyslog_chk (pri, -1, fmt, ap);}intattribute_compat_text_section__nldbl___isoc99_vfscanf (FILE *s, const char *fmt, va_list ap){ int res; set_no_long_double (); res = __isoc99_vfscanf (s, fmt, ap); clear_no_long_double (); return res;}libc_hidden_def (__nldbl___isoc99_vfscanf)intattribute_compat_text_section__nldbl___isoc99_sscanf (const char *s, const char *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___isoc99_vsscanf (s, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___isoc99_vsscanf (const char *string, const char *fmt, va_list ap){ int res; __no_long_double = 1; res = __isoc99_vsscanf (string, fmt, ap); __no_long_double = 0; return res;}libc_hidden_def (__nldbl___isoc99_vsscanf)intattribute_compat_text_section__nldbl___isoc99_vscanf (const char *fmt, va_list ap){ return __nldbl___isoc99_vfscanf (stdin, fmt, ap);}intattribute_compat_text_section__nldbl___isoc99_fscanf (FILE *stream, const char *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___isoc99_vfscanf (stream, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___isoc99_scanf (const char *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___isoc99_vfscanf (stdin, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___isoc99_vfwscanf (FILE *s, const wchar_t *fmt, va_list ap){ int res; set_no_long_double (); res = __isoc99_vfwscanf (s, fmt, ap); clear_no_long_double (); return res;}libc_hidden_def (__nldbl___isoc99_vfwscanf)intattribute_compat_text_section__nldbl___isoc99_swscanf (const wchar_t *s, const wchar_t *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___isoc99_vswscanf (s, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___isoc99_vswscanf (const wchar_t *string, const wchar_t *fmt, va_list ap){ int res; __no_long_double = 1; res = __isoc99_vswscanf (string, fmt, ap); __no_long_double = 0; return res;}libc_hidden_def (__nldbl___isoc99_vswscanf)intattribute_compat_text_section__nldbl___isoc99_vwscanf (const wchar_t *fmt, va_list ap){ return __nldbl___isoc99_vfwscanf (stdin, fmt, ap);}intattribute_compat_text_section__nldbl___isoc99_fwscanf (FILE *stream, const wchar_t *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___isoc99_vfwscanf (stream, fmt, arg); va_end (arg); return done;}intattribute_compat_text_section__nldbl___isoc99_wscanf (const wchar_t *fmt, ...){ va_list arg; int done; va_start (arg, fmt); done = __nldbl___isoc99_vfwscanf (stdin, fmt, arg); va_end (arg); return done;}#if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0)compat_symbol (libc, __nldbl__IO_printf, _IO_printf, GLIBC_2_0);compat_symbol (libc, __nldbl__IO_sprintf, _IO_sprintf, GLIBC_2_0);compat_symbol (libc, __nldbl__IO_vfprintf, _IO_vfprintf, GLIBC_2_0);compat_symbol (libc, __nldbl__IO_vsprintf, _IO_vsprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_dprintf, dprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_fprintf, fprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_printf, printf, GLIBC_2_0);compat_symbol (libc, __nldbl_sprintf, sprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_vfprintf, vfprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_vprintf, vprintf, GLIBC_2_0);compat_symbol (libc, __nldbl__IO_fprintf, _IO_fprintf, GLIBC_2_0);compat_symbol (libc, __nldbl___vsnprintf, __vsnprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_asprintf, asprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_obstack_printf, obstack_printf, GLIBC_2_0);compat_symbol (libc, __nldbl_obstack_vprintf, obstack_vprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_snprintf, snprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_vasprintf, vasprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_vdprintf, vdprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_vsnprintf, vsnprintf, GLIBC_2_0);compat_symbol (libc, __nldbl_vsprintf, vsprintf, GLIBC_2_0);compat_symbol (libc, __nldbl__IO_sscanf, _IO_sscanf, GLIBC_2_0);compat_symbol (libc, __nldbl__IO_vfscanf, _IO_vfscanf, GLIBC_2_0);compat_symbol (libc, __nldbl___vfscanf, __vfscanf, GLIBC_2_0);compat_symbol (libc, __nldbl___vsscanf, __vsscanf, GLIBC_2_0);compat_symbol (libc, __nldbl_fscanf, fscanf, GLIBC_2_0);compat_symbol (libc, __nldbl_scanf, scanf, GLIBC_2_0);compat_symbol (libc, __nldbl_sscanf, sscanf, GLIBC_2_0);compat_symbol (libc, __nldbl_vfscanf, vfscanf, GLIBC_2_0);compat_symbol (libc, __nldbl_vscanf, vscanf, GLIBC_2_0);compat_symbol (libc, __nldbl_vsscanf, vsscanf, GLIBC_2_0);compat_symbol (libc, __nldbl___printf_fp, __printf_fp, GLIBC_2_0);compat_symbol (libc, __nldbl_strfmon, strfmon, GLIBC_2_0);compat_symbol (libc, __nldbl_syslog, syslog, GLIBC_2_0);compat_symbol (libc, __nldbl_vsyslog, vsyslog, GLIBC_2_0);#endif#if LONG_DOUBLE_COMPAT(libc, GLIBC_2_1)compat_symbol (libc, __nldbl___asprintf, __asprintf, GLIBC_2_1);compat_symbol (libc, __nldbl_printf_size, printf_size, GLIBC_2_1);compat_symbol (libc, __nldbl___strfmon_l, __strfmon_l, GLIBC_2_1);#endif#if LONG_DOUBLE_COMPAT(libc, GLIBC_2_2)compat_symbol (libc, __nldbl_swprintf, swprintf, GLIBC_2_2);compat_symbol (libc, __nldbl_vwprintf, vwprintf, GLIBC_2_2);compat_symbol (libc, __nldbl_wprintf, wprintf, GLIBC_2_2);compat_symbol (libc, __nldbl_fwprintf, fwprintf, GLIBC_2_2);compat_symbol (libc, __nldbl_vfwprintf, vfwprintf, GLIBC_2_2);compat_symbol (libc, __nldbl_vswprintf, vswprintf, GLIBC_2_2);compat_symbol (libc, __nldbl_fwscanf, fwscanf, GLIBC_2_2);compat_symbol (libc, __nldbl_swscanf, swscanf, GLIBC_2_2);compat_symbol (libc, __nldbl_vfwscanf, vfwscanf, GLIBC_2_2);compat_symbol (libc, __nldbl_vswscanf, vswscanf, GLIBC_2_2);compat_symbol (libc, __nldbl_vwscanf, vwscanf, GLIBC_2_2);compat_symbol (libc, __nldbl_wscanf, wscanf, GLIBC_2_2);#endif#if LONG_DOUBLE_COMPAT(libc, GLIBC_2_3)compat_symbol (libc, __nldbl_strfmon_l, strfmon_l, GLIBC_2_3);#endif#if LONG_DOUBLE_COMPAT(libc, GLIBC_2_3_4)compat_symbol (libc, __nldbl___sprintf_chk, __sprintf_chk, GLIBC_2_3_4);compat_symbol (libc, __nldbl___vsprintf_chk, __vsprintf_chk, GLIBC_2_3_4);compat_symbol (libc, __nldbl___snprintf_chk, __snprintf_chk, GLIBC_2_3_4);compat_symbol (libc, __nldbl___vsnprintf_chk, __vsnprintf_chk, GLIBC_2_3_4);compat_symbol (libc, __nldbl___printf_chk, __printf_chk, GLIBC_2_3_4);compat_symbol (libc, __nldbl___fprintf_chk, __fprintf_chk, GLIBC_2_3_4);compat_symbol (libc, __nldbl___vprintf_chk, __vprintf_chk, GLIBC_2_3_4);compat_symbol (libc, __nldbl___vfprintf_chk, __vfprintf_chk, GLIBC_2_3_4);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -