A simple status program in C