コード例 #1
0
ファイル: nldbl-compat.c プロジェクト: riscv/riscv-glibc
int
attribute_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;
}
コード例 #2
0
ファイル: asprintf_chk.c プロジェクト: AdvancedC/glibc
/* Write formatted output from FORMAT to a string which is
   allocated with malloc and stored in *STRING_PTR.  */
int
__asprintf_chk (char **result_ptr, int flags, const char *format, ...)
{
  va_list arg;
  int done;

  va_start (arg, format);
  done = __vasprintf_chk (result_ptr, flags, format, arg);
  va_end (arg);

  return done;
}