🏗️」 wip(exec/get_path): can get all files in path, only printing for now.

This commit is contained in:
yosyo
2024-05-19 05:49:22 +02:00
parent 10915c369c
commit 3ab8361d69
4 changed files with 73 additions and 3 deletions

View File

@ -6,13 +6,15 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
/* Updated: 2024/05/06 20:29:58 by mmoussou ### ########.fr */
/* Updated: 2024/05/19 04:27:24 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef EXECUTION_H
# define EXECUTION_H
int get_path(char *path);
typedef struct s_env
{
char *name;

View File

@ -18,6 +18,10 @@
# include <readline/readline.h>
# include <stdlib.h>
# include <stdint.h>
# include <sys/types.h>
# include <sys/stat.h>
# include <unistd.h>
# include <dirent.h>
# include "libft.h"
# include "parsing.h"