-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipex.h
33 lines (29 loc) · 1.38 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pipex.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mouaammo <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/15 18:55:40 by mouaammo #+# #+# */
/* Updated: 2022/12/21 13:48:12 by mouaammo ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PIPEX_H
# define PIPEX_H
# include <stdio.h>
# include <unistd.h>
# include <fcntl.h>
# include "./libft/libft.h"
# include "./get_next_line/get_next_line.h"
# include <string.h>
# include <stdlib.h>
void read_from_input(int *fd, char *limiter, char **line);
int open_file(char *file, char *type);
char *free_all(char **ptr);
char *check_path(char **paths, char *arv);
char *get_path(char **ev);
void error(void);
void execute(char **env, char *av, int *fd);
int ft_strcmp(const char *s1, const char *s2);
#endif