2 #include <asm/unistd.h>
12 static const char sample[] = "faccessat.sample";
13 const long int fd = (long int) 0xdeadbeefffffffffULL;
15 long rc = syscall(__NR_faccessat, fd, sample, F_OK);
16 printf("faccessat(%d, \"%s\", F_OK) = %ld %s (%m)\n",
17 (int) fd, sample, rc, errno2name());
19 puts("+++ exited with 0 +++");
25 SKIP_MAIN_UNDEFINED("__NR_faccessat")