2 #include <asm/unistd.h>
13 const unsigned long fd = (long int) 0xdeadbeefffffffff;
15 long rc = syscall(__NR_flock, fd, LOCK_SH);
16 printf("flock(%d, LOCK_SH) = %ld %s (%m)\n",
17 (int) fd, rc, errno2name());
19 puts("+++ exited with 0 +++");
25 SKIP_MAIN_UNDEFINED("__NR_flock")