blob: e6e7ce3725230002112694ffd0ce63861b5f9958 [file] [log] [blame]
Fei Jie86ff93e2016-04-26 16:03:10 +08001#include "tests.h"
Dmitry V. Levin6a2f43c2016-08-09 14:38:29 +00002#include <asm/unistd.h>
Fei Jie86ff93e2016-04-26 16:03:10 +08003
4#ifdef __NR_sync
5
6# include <stdio.h>
7# include <unistd.h>
8
9int
10main(void)
11{
12 printf("sync() = %ld\n", syscall(__NR_sync));
13
14 puts("+++ exited with 0 +++");
15 return 0;
16}
17
18#else
19
20SKIP_MAIN_UNDEFINED("__NR_sync")
21
22#endif