| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| c_printf_color.tar | 2015-01-24 | 10.2 kB | |
| README | 2014-12-22 | 596 Bytes | |
| Totals: 2 Items | 10.8 kB | 0 |
C Terminal Color Module
Author: Jacob Psimos
Allows printing of color strings in the terminal without the need
to import unisted or change the locale.
WARNING: String buffers are not changed, they are constant.
This means that all strings that are created with makeString(...)
must be freed after their use, or else memory leak.
Example:
char *aString = makeString("Hello World", 11, RED);
printf("%s\n", aString);
free(aString); <----------------------------------
LICENSE: You are free to redistribute / modify this code as you wish.
Author: Jacob Psimos [219 743 3475]