utils/color.c
char* randclr(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);

    /* Print random color */
    srand(time(NULL));
    int r = rand() % 8;
    colorized = strclr(r, string);

    return colorized;
}
/*
 * randclr - Random colorize. Function returns colorized string 
 * with random color. Argument str is string with va_list of 
 * arguments  which one we want to colorize with random color.
 */
Random colorize. Function returns colorized string
with random color. Argument str is string with va_list of
arguments  which one we want to colorize with random color.
Random colorize . Function returns colorized string with random color . Argument str is string with va_list of arguments which one we want to colorize with random color .
char* randclr(char* str, ...) 
{
    char string[MAXMSG];
    char* colorized;
    va_list args;
    va_start(args, str);
    vsprintf(string, str, args);
    va_end(args);
    srand(time(NULL));
    int r = rand() % 8;
    colorized = strclr(r, string);
    return colorized;
}
char * randclr ( char * str , ... ) { char string [ MAXMSG ] ; char * colorized ; va_list args ; va_start ( args , str ) ; vsprintf ( string , str , args ) ; va_end ( args ) ; srand ( time ( NULL ) ) ; int r = rand ( ) % 8 ; colorized = strclr ( r , string ) ; return colorized ; }
randclr - Random colorize.
randclr - Random colorize .
/* Used variables */ /* Read args */ /* Print random color */