2024-01-05 21:12:58 +00:00
|
|
|
/* bits/itimer.h: Constants for POSIX timers, setitimer() and getitimer(). */
|
2023-11-16 20:48:18 +00:00
|
|
|
|
|
|
|
#ifndef _BITS_ITIMER_H
|
|
|
|
#define _BITS_ITIMER_H
|
|
|
|
|
|
|
|
#include <bits/timespec.h>
|
|
|
|
|
|
|
|
#define ITIMER_REAL 0
|
|
|
|
#define ITIMER_VIRTUAL 1
|
|
|
|
#define ITIMER_PROF 2
|
|
|
|
|
|
|
|
struct itimerval
|
|
|
|
{
|
|
|
|
struct timeval it_interval;
|
|
|
|
struct timeval it_value;
|
|
|
|
};
|
|
|
|
|
2024-01-05 21:12:58 +00:00
|
|
|
struct itimerspec
|
|
|
|
{
|
|
|
|
struct timespec it_interval;
|
|
|
|
struct timespec it_value;
|
|
|
|
};
|
|
|
|
|
2023-11-16 20:48:18 +00:00
|
|
|
#endif
|