HelenOS sources

console_get_color_cap  165 uspace/app/tetris/screen.c 	errno_t rc = console_get_color_cap(console, &ccap);
console_get_color_cap  148 uspace/dist/src/c/demos/tetris/screen.c 	errno_t rc = console_get_color_cap(console, &ccap);
console_get_color_cap   86 uspace/lib/console/include/io/console.h extern errno_t console_get_color_cap(console_ctrl_t *, sysarg_t *);
HelenOS homepage, sources at GitHub