21 lines
327 B
C
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
|