Minishell 1.0
42 School Minishell Project - A simple shell implementation
Yüklüyor...
Arıyor...
Eşleşme Yok
executor_pipe_utils.c Dosya Referansı
#include "../../include/minishell.h"
#include <unistd.h>
executor_pipe_utils.c için içerme bağımlılık grafiği:

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.

Fonksiyon Dokümantasyonu

◆ pipe_left_child()

void pipe_left_child ( t_shell * shell,
t_ast * node,
int * pipefd )

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().

Bu fonksiyon için çağırılma şeması:
Bu fonksiyon için çağırılma şeması:

◆ pipe_right_child()

void pipe_right_child ( t_shell * shell,
t_ast * node,
int * pipefd )

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().

Bu fonksiyon için çağırılma şeması:
Bu fonksiyon için çağırılma şeması:

◆ wait_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().

Bu fonksiyon için çağırılma şeması:
Bu fonksiyon için çağırılma şeması: