blob: aa9f9c0186e8903ba0687a55cf819d229bf5755c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef UTIL_LINUX_TIMER_H
#define UTIL_LINUX_TIMER_H
#include <signal.h>
#include <sys/time.h>
extern int setup_timer(timer_t * t_id, struct itimerval *timeout,
void (*timeout_handler)(int, siginfo_t *, void *));
extern void cancel_timer(timer_t * t_id);
#endif /* UTIL_LINUX_TIMER_H */
|