Simple file for testing on chapter 1

This commit is contained in:
Fabio Scotto di Santolo
2025-06-20 15:56:11 +02:00
parent 63b4bb9ce6
commit 00a33abc23

9
chp1/syscalls/example1.c Normal file
View File

@@ -0,0 +1,9 @@
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
int main(void) {
int fd = open("test.txt", O_CREAT | O_RDWR);
// close(fd);
return EXIT_SUCCESS;
}