int attribute_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; }
/* VARARGS4 */ int ___sprintf_chk (char *s, int flags, size_t slen, const char *format, ...) { va_list arg; int done; va_start (arg, format); done = __vsprintf_chk (s, flags, slen, format, arg); va_end (arg); return done; }
/* * Runtime implementation of __builtin____sprintf_chk. * * See * http://gcc.gnu.org/onlinedocs/gcc/Object-Size-Checking.html * http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html * for details. * * This sprintf check is called if _FORTIFY_SOURCE is defined and * greater than 0. */ int __sprintf_chk( char *dest, int flags, size_t dest_len_from_compiler, const char *format, ...) { va_list va; int retval; va_start(va, format); retval = __vsprintf_chk(dest, flags, dest_len_from_compiler, format, va); va_end(va); return retval; }