-
Notifications
You must be signed in to change notification settings - Fork 0
write동작의이해
Taeung Song edited this page Dec 10, 2018
·
1 revision
- kernel version: 4.20.0-rc5
- commit ID: 8214bdf7d3e6
- git repository: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
void main()
{
FILE *fp = fopen("/home/kosslab/hello.txt", "w");
if (fp) {
fprintf(fp, "hello linux filesystem\n");
fclose(fp);
sync();
}
}