src/tcpkali_logging.c
void
warning(const char *fmt, ...) {
    va_list ap;
    va_start(ap, fmt);
    fprintf(stderr, "%sWARNING%s: ", tk_attr(TKA_WARNING), tk_attr(TKA_NORMAL));
    fprintf(stderr, "%s", tcpkali_clear_eol());
    vfprintf(stderr, fmt, ap);
    va_end(ap);
}
/*
 * Print the given string while unconditionally prepending
 * a colorized "WARNING: " prefix.
 */
Print the given string while unconditionally prepending
a colorized "WARNING: " prefix.
Print the given string while unconditionally prepending a colorized " WARNING : " prefix .
void
warning(const char *fmt, ...) {
    va_list ap;
    va_start(ap, fmt);
    fprintf(stderr, "%sWARNING%s: ", tk_attr(TKA_WARNING), tk_attr(TKA_NORMAL));
    fprintf(stderr, "%s", tcpkali_clear_eol());
    vfprintf(stderr, fmt, ap);
    va_end(ap);
}
void warning ( const char * fmt , ... ) { va_list ap ; va_start ( ap , fmt ) ; fprintf ( stderr , " " , tk_attr ( TKA_WARNING ) , tk_attr ( TKA_NORMAL ) ) ; fprintf ( stderr , " " , tcpkali_clear_eol ( ) ) ; vfprintf ( stderr , fmt , ap ) ; va_end ( ap ) ; }
Print the given string while unconditionally prepending
 a colorized "WARNING: " prefix.
Print the given string while unconditionally prepending a colorized " WARNING : " prefix .