Home
last modified time | relevance | path

Searched refs:clockfd (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd_settime01.c40 static int clockfd; variable
50 {&clockfd, 0, (struct itimerspec *)-1, EFAULT},
52 {&clockfd, -1, NULL, EINVAL},
91 clockfd = timerfd_create(CLOCK_REALTIME, 0); in setup()
92 if (clockfd == -1) in setup()
120 if (clockfd > 0) in cleanup()
121 close(clockfd); in cleanup()
Dtimerfd_gettime01.c39 static int clockfd; variable
48 {&clockfd, (struct itimerspec *)-1, EFAULT},
87 clockfd = timerfd_create(CLOCK_REALTIME, 0); in setup()
88 if (clockfd == -1) in setup()
115 if (clockfd > 0) in cleanup()
116 close(clockfd); in cleanup()