Operating Systems cache systems in C