Archived
1
0

[] feat: started exec

This commit is contained in:
2024-04-03 16:41:58 +02:00
parent 7d09b4cb31
commit 4e0a049e1d
13 changed files with 134 additions and 30 deletions

View File

@ -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;

View File

@ -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