|
Minishell 1.0
42 School Minishell Project - A simple shell implementation
|
Bu dosyanın kaynak koduna git.
Fonksiyonlar | |
| void | pipe_left_child (t_shell *shell, t_ast *node, int *pipefd) |
| Pipe'ın sol tarafını çalıştır. | |
| void | pipe_right_child (t_shell *shell, t_ast *node, int *pipefd) |
| Pipe'ın sağ tarafını çalıştır. | |
| int | wait_pipe (pid_t left_pid, pid_t right_pid) |
| İki child'ı bekle, sağ tarafın exit status'unu döndür. | |
Pipe'ın sol tarafını çalıştır.
executor_pipe_utils.c dosyasının 19 numaralı satırında tanımlanmıştır.
Referanslar execute_ast(), s_ast::left, reset_signals() ve shell_exit().
Referans veren execute_pipe().
Pipe'ın sağ tarafını çalıştır.
executor_pipe_utils.c dosyasının 34 numaralı satırında tanımlanmıştır.
Referanslar execute_ast(), reset_signals(), s_ast::right ve shell_exit().
Referans veren execute_pipe().
| int wait_pipe | ( | pid_t | left_pid, |
| pid_t | right_pid ) |
İki child'ı bekle, sağ tarafın exit status'unu döndür.
executor_pipe_utils.c dosyasının 49 numaralı satırında tanımlanmıştır.
Referanslar wait_for_child().
Referans veren execute_pipe().