[✨] feat: started exec
This commit is contained in:
@ -6,13 +6,15 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/03/28 16:54:40 by adjoly #+# #+# */
|
||||
/* Updated: 2024/03/29 10:41:40 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/04/03 13:56:08 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef PARSING_H
|
||||
# define PARSING_H
|
||||
|
||||
# include "libft.h"
|
||||
|
||||
typedef struct s_pcmd
|
||||
{
|
||||
char *cmd;
|
||||
|
@ -6,16 +6,27 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/03/22 21:14:06 by adjoly #+# #+# */
|
||||
/* Updated: 2024/03/22 21:16:23 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/04/03 14:24:09 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef PIPEX_H
|
||||
# define PIPEX_H
|
||||
|
||||
typedef struct t_pipex
|
||||
{
|
||||
# include "parsing.h"
|
||||
# include "libft.h"
|
||||
|
||||
} s_pipex;
|
||||
# include <stdlib.h>
|
||||
# include <unistd.h>
|
||||
# include <fcntl.h>
|
||||
|
||||
typedef struct s_pipex
|
||||
{
|
||||
t_pcmd *cmd;
|
||||
int infile;
|
||||
int outfile;
|
||||
} t_pipex;
|
||||
|
||||
void ft_senderror(t_pipex *pipex, char *msg);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user