#include <sys/time.h> int getitimer(int which, struct itimerval *value);
This function gets the current value of the interval timer specified by which into structure value. Variable which can have the value of ITIMER_REAL or ITIMER_PROF. See section setitimer.
Returns 0 on success, -1 on failure (and sets errno).
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.