diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-10-20 09:10:46 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-10-20 09:10:46 +0200 |
| commit | 9d66e3d084f575187b334d171a8bed40c476aa08 (patch) | |
| tree | 0898c22e2224680cfcc83ab957573b7e38b2566d /main.c | |
| parent | 1e754c1256dfe2380fa8933802ea9b4e5518be48 (diff) | |
| download | get_next_line-9d66e3d084f575187b334d171a8bed40c476aa08.tar.gz get_next_line-9d66e3d084f575187b334d171a8bed40c476aa08.tar.bz2 get_next_line-9d66e3d084f575187b334d171a8bed40c476aa08.zip | |
Multiple fildes retarded version
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/10 09:27:41 by cacharle #+# #+# */ -/* Updated: 2019/10/20 08:30:07 by cacharle ### ########.fr */ +/* Updated: 2019/10/20 09:03:18 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,6 +14,7 @@ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> +#include <limits.h> #include "get_next_line.h" int main(int argc, char **argv) @@ -23,6 +24,7 @@ int main(int argc, char **argv) char *line; int ret; + /* printf("limit fdmax %d\n", OPEN_MAX); */ if (argc != 2) { printf("You forgot the filename"); |
