Skip to content
Snippets Groups Projects
Commit 44aa6d0e authored by Federico's avatar Federico
Browse files

Fix process example

parent d5d7160c
Branches
Tags
No related merge requests found
......@@ -49,7 +49,7 @@ int main()
usleep(*p);
break;
case '5':
fp = open("/test.txt", O_RDWR|O_TRUNC, 0);
fp = open("/sd/test.txt", O_RDWR|O_TRUNC|O_CREAT, 0644);
if(fp != -1){
write(1, "File opened\n", 12);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment