diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 11:42:01 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 11:42:19 +0200 |
commit | 7bd73747fff54cf51642dbbf042c621e59a2c005 (patch) | |
tree | 562676064b6eb20b25e6e1fb422d08d54b82e82f /xutils.c | |
parent | 57968a8ab19b45b5d128656f6bed2581aee2ef22 (diff) |
timer: add time management functions
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xutils.c')
-rw-r--r-- | xutils.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -71,13 +71,3 @@ int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events) return epoll_ctl(fd_epoll, action, fd_toadd, &ev); } - -void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec, - unsigned long usec) -{ - itimer->it_interval.tv_sec = sec; - itimer->it_interval.tv_usec = usec; - - itimer->it_value.tv_sec = sec; - itimer->it_value.tv_usec = usec; -} |