(void) __asprintf (&buf, _("%s%s%s:%u: %s%sUnexpected error: %s.\n"), __progname, __progname[0] ? ": " : "", file, line, function ? function : "", function ? ": " : "", __strerror_r (errnum, errbuf, sizeof errbuf));
if (__asprintf (&buf, _("%s%s%s:%u: %s%sUnexpected error: %s.\n"), __progname, __progname[0] ? ": " : "", file, line, function ? function : "", function ? ": " : "", __strerror_r (errnum, errbuf, sizeof errbuf)) >= 0) {  #ifdef USE_IN_LIBIO if (_IO_fwide (stderr, 0) > 0) (void) __fwprintf (stderr, L"%s", buf); else #endif (void) fputs (buf, stderr);
__assert_perror_fail (int errnum,		      const char *file, unsigned int line,		      const char *function){  char errbuf[1024];  char *buf;#ifdef FATAL_PREPARE  FATAL_PREPARE;#endif  (void) __asprintf (&buf, _("%s%s%s:%u: %s%sUnexpected error: %s.\n"),		     __progname, __progname[0] ? ": " : "",		     file, line,		     function ? function : "", function ? ": " : "",		     __strerror_r (errnum, errbuf, sizeof errbuf));  /* Print the message.  */#ifdef USE_IN_LIBIO  if (_IO_fwide (stderr, 0) > 0)    (void) __fwprintf (stderr, L"%s", buf);  else#endif    (void) fputs (buf, stderr);  (void) fflush (stderr);  /* We have to free the buffer since the appplication might catch the     SIGABRT.  */  free (buf);  abort ();}