|
CHashTable 1
|
printf function with colored output using ANSI escape codes More...
Functions | |
| void | fprintf_color (FILE *stream, ColorCode color_code, const char *format,...) |
| Prints a formatted string to stdout in a specified color. | |
Variables | |
| static const char * | colors [] |
printf function with colored output using ANSI escape codes
| void fprintf_color | ( | FILE * | stream, |
| ColorCode | color_code, | ||
| const char * | format, | ||
| ... | |||
| ) |
Prints a formatted string to stdout in a specified color.
| code | The ColorCode enum value (e.g., COLOR_RED) |
| format | The printf-style format string |
| ... | The variable arguments for the format string. |
|
static |