-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpipex_struct.h
More file actions
35 lines (31 loc) · 1.22 KB
/
pipex_struct.h
File metadata and controls
35 lines (31 loc) · 1.22 KB
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pipex_struct.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mruggier <mruggier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/16 15:56:58 by mruggier #+# #+# */
/* Updated: 2024/01/16 15:56:58 by mruggier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PIPEX_STRUCT_H
# define PIPEX_STRUCT_H
# include <sys/types.h>
# include <sys/stat.h>
typedef struct s_data
{
int argc;
char **argv;
int filein;
int fileout;
int fd[2];
char ***cmd;
char **path;
char *line;
char **all_paths;
char *possible_path;
char *returnline;
pid_t pod;
} t_data;
#endif