-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipex.h
27 lines (23 loc) · 1.19 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pipex.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jleslee <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/07 21:06:44 by jleslee #+# #+# */
/* Updated: 2021/12/09 18:47:03 by jleslee ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PIPEX_H
# define PIPEX_H
# include <unistd.h>
# include <fcntl.h>
# include <stdlib.h>
# include <sys/wait.h>
char *make_command(char *path, char *bin);
int ncompare(char *str1, char *str2, int n);
int len_ch(char *str, char c);
char *str_ndup(char *str, unsigned int n);
char **str_split(char *str, char sep);
#endif