123456789101112131415161718192021222324252627282930313233 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* pipex.h :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: phella <phella@student.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2022/03/01 12:24:54 by phella #+# #+# */
- /* Updated: 2022/03/03 18:43:27 by phella ### ########.fr */
- /* */
- /* ************************************************************************** */
- #ifndef PIPEX_H
- # define PIPEX_H
- # include <unistd.h>
- # include <stdlib.h>
- # include <fcntl.h>
- # include <stdio.h>
- char **ft_split(const char *s, char c);
- int ft_strlen(const char *str);
- char *ft_strnstr(const char *haystack, const char *needle, int len);
- char *ft_strjoin(char *s1, char *s2);
- char *ft_path(char *cmd, char **env);
- char *ft_pwd_path(char *cmd, char **env);
- void ft_get_cmd(char *argv, char **env);
- void ft_parent_process(char **argv, char **env, int *fd);
- void ft_child_process(char **argv, char **env, int *fd);
- int main(int argc, char **argv, char **env);
- #endif
|