Please check the manual page getitimer(2).