utils/color.c
void printrclr(char* str, ...) 
{
    /* Used variables */
    char string[MAXMSG];
    char* colorized;

    /* Read args */
    va_list args;
    va_start(args, str);
    vsprintf(string, str, args);
    va_end(args);

    /* Get random color */
    colorized = randclr(string);
    if (colorized != NULL) 
        printf("%s", colorized);
}
/*
 * printrclr - Print random colorized string. Function prints 
 * string with random color. Argument str is string with va_list 
 * of arguments  which one we want to print with random color.
 */
Print random colorized string. Function prints
string with random color. Argument str is string with va_list
of arguments  which one we want to print with random color.
Print random colorized string . Function prints string with random color . Argument str is string with va_list of arguments which one we want to print with random color .
void printrclr(char* str, ...) 
{
    char string[MAXMSG];
    char* colorized;
    va_list args;
    va_start(args, str);
    vsprintf(string, str, args);
    va_end(args);
    colorized = randclr(string);
    if (colorized != NULL) 
        printf("%s", colorized);
}
void printrclr ( char * str , ... ) { char string [ MAXMSG ] ; char * colorized ; va_list args ; va_start ( args , str ) ; vsprintf ( string , str , args ) ; va_end ( args ) ; colorized = randclr ( string ) ; if ( colorized != NULL ) printf ( " " , colorized ) ; }
printrclr - Print random colorized string.
printrclr - Print random colorized string .
/* Used variables */ /* Read args */ /* Get random color */