CHashTable 1
Loading...
Searching...
No Matches
fprintf_color.h
Go to the documentation of this file.
1
6#ifndef CHASHTABLE_PRINTF_COLOR_H
7#define CHASHTABLE_PRINTF_COLOR_H
8
12typedef enum {
13 COLOR_RESET,
14 COLOR_RED,
15 COLOR_GREEN,
16 COLOR_BLUE,
17 COLOR_BOLD_RED
18} ColorCode;
19
26void fprintf_color(FILE *stream, ColorCode color_code, const char *format, ...);
27
28#endif //CHASHTABLE_PRINTF_COLOR_H
ColorCode
Print colors for printf_color()
Definition fprintf_color.h:12
void fprintf_color(FILE *stream, ColorCode color_code, const char *format,...)
Prints a formatted string to stdout in a specified color.
Definition fprintf_color.c:19