diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-10-29 08:37:00 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-10-29 08:37:00 +0100 |
commit | 8c4d5fa5b992047f24e433a936f4de314c79c519 (patch) | |
tree | f3d2ed0bcd1b528b5314d6e1f036df3334e3c921 | |
download | 42-minishell-8c4d5fa5b992047f24e433a936f4de314c79c519.tar.gz 42-minishell-8c4d5fa5b992047f24e433a936f4de314c79c519.tar.bz2 42-minishell-8c4d5fa5b992047f24e433a936f4de314c79c519.tar.xz 42-minishell-8c4d5fa5b992047f24e433a936f4de314c79c519.tar.zst 42-minishell-8c4d5fa5b992047f24e433a936f4de314c79c519.zip |
first commit
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..73a3a7d --- /dev/null +++ b/src/main.c @@ -0,0 +1,14 @@ +#include <unistd.h> + +int + main(int argc, char *argv[]) +{ + char c; + (void)argc; + (void)argv; + while (read(1, &c, 1) > 0) + { + + } + return (0); +} |