-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipex.h
46 lines (34 loc) · 1.24 KB
/
pipex.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pipex.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: abouabra < [email protected] > +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/23 21:04:28 by abouabra #+# #+# */
/* Updated: 2022/12/06 12:35:43 by abouabra ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PIPEX_H
# define PIPEX_H
# include "libft/libft.h"
# include <fcntl.h>
typedef struct s_vars
{
char **exec_param;
char *command_path;
int **fd;
int ac;
char **av;
char **ev;
int is_herdoc;
char *herdoc_limiter;
int while_command;
int command_index;
int while_index;
int in_fd;
int out_fd;
int alloc_fd_size;
int i;
} t_vars;
#endif