diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-03-25 06:02:43 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-03-25 06:02:43 -0300 |
commit | 8a4694de398cbcfc1f058daf75065da492f9eea6 (patch) | |
tree | acdb4631ce87836286be45b8bfeeff9fdad74786 /jet.c | |
download | jet-8a4694de398cbcfc1f058daf75065da492f9eea6.tar.gz jet-8a4694de398cbcfc1f058daf75065da492f9eea6.zip |
Go! Go! Go!
Diffstat (limited to 'jet.c')
-rw-r--r-- | jet.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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; +} |