pipex 함수 → pipex_funcitons
mandatory
external function.
- open, close, read, write, malloc, free, perror, strerror, access, dup, dup2, execve, exit, fork, pipe, unlink, wait, waitpid
- ft_printf and any equivalent YOU coded (libft, printf, gnl ,, )
This project is about handling pipes.
→ 통신에 대해서 배운다.
→ minitalk // 시그널을 통한 클라이언트와 서버간의 통신
- The purpose of this project is to code a small data exchange program using UNIX signals. It is an introductory project for the bigger UNIX projects that will appear later on in the cursus.
→ pipex // 프로세스간의 통신
- This project aims to make you understand a bit deeper two concepts that you already know: the redirections and the pipes. It is an introduction project.
실행 명령
./pipex file1 cmd1 cmd2 file2
작동은 아래의 쉘 명령어와 같이 작동해야 한다.
$> < file1 cmd1 | cmd2 > file2