summaryrefslogtreecommitdiff
path: root/jet.c
diff options
context:
space:
mode:
Diffstat (limited to 'jet.c')
-rw-r--r--jet.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/jet.c b/jet.c
new file mode 100644
index 0000000..d600ffc
--- /dev/null
+++ b/jet.c
@@ -0,0 +1,13 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <unistd.h>
+
+int main(int argc, char *argv[]) {
+ if (argc > 1) {
+ int file_descriptor = open(argv[1], O_RDWR);
+ close(file_descriptor);
+ }
+ return 0;
+}