-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipex.h
31 lines (27 loc) · 1.41 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pipex.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mac <mac@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/02/17 13:35:09 by mac #+# #+# */
/* Updated: 2022/02/21 18:40:29 by mac ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef _PIPEX_H_
# define _PIPEX_H_
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
size_t ft_strlen(const char *s);
char *ft_strjoin(char const *s1, char const *s2);
char *ft_strdup(const char *s1);
char *ft_substr(char const *s, unsigned int start, size_t len);
char **ft_split(const char *s, char c);
int ft_strncmp(const char *s1, const char *s2, size_t n);
char *ft_strnstr(const char *haystack, const char *needle, size_t len);
char *path_checker(char *cmd, char **env);
void execute(char *argv, char **env);
#endif