FreeBSD/libexec/rtld-elf/rtld.c
/*
 * Error reporting function.  Use it like printf.  If formats the message
 * into a buffer, and sets things up so that the next call to dlerror()
 * will return the message.
 */
Error reporting function.  Use it like printf.  If formats the message
into a buffer, and sets things up so that the next call to dlerror()
will return the message.
Error reporting function . Use it like printf . If formats the message into a buffer and sets things up so that the next call to dlerror () will return the message .
void
_rtld_error(const char *fmt, ...)
{
    static char buf[512];
    va_list ap;
    va_start(ap, fmt);
    rtld_vsnprintf(buf, sizeof buf, fmt, ap);
    error_message = buf;
    va_end(ap);
}
void _rtld_error ( const char * fmt , ... ) { static char buf [ 512 ] ; va_list ap ; va_start ( ap , fmt ) ; rtld_vsnprintf ( buf , sizeof buf , fmt , ap ) ; error_message = buf ; va_end ( ap ) ; }
Error reporting function.
Error reporting function .