diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
commit | f6faf88cd0991be3184af67d5fa271b12f70e925 (patch) | |
tree | 02c283541fd2c0b4ccacd31172cccf2ba9711c51 /src/e_externs.c | |
parent | Norming in progress (diff) | |
download | 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.gz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.bz2 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.xz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.zst 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.zip |
Norming
Diffstat (limited to 'src/e_externs.c')
-rw-r--r-- | src/e_externs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/e_externs.c b/src/e_externs.c index a27e4ca..6e1e75a 100644 --- a/src/e_externs.c +++ b/src/e_externs.c @@ -38,7 +38,7 @@ static void e_extern_child(const char fullpath[], t_com *ptr, t_msh *msh) { char buff[7]; - int fd; + int fd; if ((fd = open(fullpath, O_RDONLY)) != -1) { @@ -95,7 +95,7 @@ static void e_exec_path(const char fullpath[], t_msh *msh) { pid_t pid; - int status; + int status; if ((pid = fork()) == 0) { @@ -119,7 +119,7 @@ static void e_exec_path(const char fullpath[], void e_extern(t_com *ptr, t_msh *msh) { - char fullpath[PATH_MAX]; + char fullpath[PATH_MAX]; unsigned char fp_ret; fullpath[0] = C_NUL; |