-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipex.h
32 lines (28 loc) · 1.15 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
/* ************************************************************************** */
/* */
/* :::::::: */
/* pipex.h :+: :+: */
/* +:+ */
/* By: mgraaf <[email protected]> +#+ */
/* +#+ */
/* Created: 2021/12/17 10:59:55 by mgraaf #+# #+# */
/* Updated: 2021/12/17 16:11:49 by mgraaf ######## odam.nl */
/* */
/* ************************************************************************** */
#ifndef PIPEX_H
# define PIPEX_H
# include "libft/libft.h"
# include <fcntl.h>
# include <unistd.h>
# include <stdio.h>
typedef struct s_pipex
{
char **paths;
int f1;
int f2;
char **envp;
char **cmds1;
char **cmds2;
} t_pipex;
char **parse_envp(char **argv, char **envp);
#endif