utils/color.c
void printclr(int clr, 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 colorized string */
    colorized = strclr(clr, string);
    if (colorized != NULL) 
        printf("%s", colorized);
}
/*
 * printclr - Function takes color value and 
 * string and prints colorized string with printf.
 * First argument clr is color value and second is string
 * with va_list of arguments which one we want to print.
 */
Function takes color value and
string and prints colorized string with printf.
First argument clr is color value and second is string
with va_list of arguments which one we want to print.
Function takes color value and string and prints colorized string with printf . First argument clr is color value and second is string with va_list of arguments which one we want to print .
void printclr(int clr, char* str, ...) 
{
    char string[MAXMSG];
    char* colorized;
    va_list args;
    va_start(args, str);
    vsprintf(string, str, args);
    va_end(args);
    colorized = strclr(clr, string);
    if (colorized != NULL) 
        printf("%s", colorized);
}
void printclr ( int clr , char * str , ... ) { char string [ MAXMSG ] ; char * colorized ; va_list args ; va_start ( args , str ) ; vsprintf ( string , str , args ) ; va_end ( args ) ; colorized = strclr ( clr , string ) ; if ( colorized != NULL ) printf ( " " , colorized ) ; }
printclr - Function takes color value and
 string and prints colorized string with printf.
printclr - Function takes color value and string and prints colorized string with printf .
/* Used variables */ /* Read args */ /* Print colorized string */