Go to the first, previous, next, last section, table of contents.


getitimer

Syntax

#include <sys/time.h>

int getitimer(int which, struct itimerval *value);

Description

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.

Return Value

Returns 0 on success, -1 on failure (and sets errno).

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.