42_minishell/minishell.h
Camille Chauvet 33cccda0ad start
2023-02-01 17:28:38 +01:00

21 lines
327 B
C

#ifndef FT_MINISHELL
# define FT_MINISHELL
# include "libftx/libftx.h"
# include "utils/utils.h"
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
int ft_file_is_readable(char *path);
int ft_file_is_writeable(char *path);
typedef struct cmd
{
int fd_in;
int fd_out;
char *cmd;
char *args;
} cmd;
#endif