]> granicus.if.org Git - strace/blob - tests/times-fail.c
Mpersify RTC_* ioctl parser
[strace] / tests / times-fail.c
1 #include "tests.h"
2 #include <assert.h>
3 #include <stdio.h>
4 #include <unistd.h>
5 #include <sys/syscall.h>
6
7 int
8 main (void)
9 {
10         assert(syscall(__NR_times, 0x42) == -1);
11         printf("times(0x42) = -1 EFAULT (%m)\n");
12         puts("+++ exited with 0 +++");
13
14         return 0;
15 }