Post circular FIFO in C