Searched refs:clockfd (Results 1 - 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/timerfd/ |
H A D | timerfd_settime01.c | 21 static int clockfd; variable 32 {&clockfd, 0, NULL, EFAULT}, 34 {&clockfd, -1, NULL, EINVAL}, 57 clockfd = timerfd_create(CLOCK_REALTIME, 0); in setup() 58 if (clockfd == -1) { in setup() 68 if (clockfd > 0) in cleanup() 69 close(clockfd); in cleanup()
|
H A D | timerfd_gettime01.c | 22 static int clockfd; variable 32 {&clockfd, NULL, EFAULT}, 51 clockfd = timerfd_create(CLOCK_REALTIME, 0); in setup() 52 if (clockfd == -1) { in setup() 62 if (clockfd > 0) in cleanup() 63 close(clockfd); in cleanup()
|
Completed in 1 milliseconds