Judger/tests/test_src/seccomp/write_file_open.c

10 lines
176 B
C
Raw Normal View History

2016-10-15 19:46:01 +00:00
#include <stdio.h>
#include <errno.h>
int main(int argc, char *argv[])
2016-10-15 19:46:01 +00:00
{
FILE *f = fopen(argv[1], argv[2]);
2016-10-15 19:46:01 +00:00
if (f == NULL) {
return errno;
2016-10-15 19:46:01 +00:00
}
return 0;
}