blob: 4805e187449e583d2f43aa61af30e1b551f1f2d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdio.h>
#include <syscall.h>
int
main (int argc, char *argv[])
{
if (create("test", 1)) {
printf("created file\n");
halt();
} else {
printf("couldn't create file\n");
halt();
}
}
|