1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

extending example by writing something in /tmp/test.txt

This commit is contained in:
Stefan Lankes 2016-08-22 16:12:04 +02:00
parent 79e71200b5
commit e221677fe1

View file

@ -68,6 +68,7 @@ int main(int argc, char** argv)
file = fopen("/tmp/test.txt", "w");
if (file)
{
fprintf(file, "Hello World!!!\n");
fclose(file);
} else fprintf(stderr, "Unable to open file /tmp/test.txt\n");