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

Bu dosyanın kaynak koduna git.

Fonksiyonlar

void close_pipe (int *pipefd)
 Pipe fd'lerini kapat.
static int fork_process (pid_t *pid, int *pipefd)
int execute_pipe (t_shell *shell, t_ast *node)
 Pipe node'unu çalıştır Her iki taraf da child process'te çalışır.

Fonksiyon Dokümantasyonu

◆ close_pipe()

void close_pipe ( int * pipefd)

Pipe fd'lerini kapat.

executor_pipe.c dosyasının 21 numaralı satırında tanımlanmıştır.

Referans veren execute_pipe() ve fork_process().

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

◆ fork_process()

int fork_process ( pid_t * pid,
int * pipefd )
static

executor_pipe.c dosyasının 29 numaralı satırında tanımlanmıştır.

Referanslar close_pipe() ve shell_error().

Referans veren execute_pipe().

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

◆ execute_pipe()

int execute_pipe ( t_shell * shell,
t_ast * node )

Pipe node'unu çalıştır Her iki taraf da child process'te çalışır.

executor_pipe.c dosyasının 45 numaralı satırında tanımlanmıştır.

Referanslar close_pipe(), fork_process(), pipe_left_child(), pipe_right_child(), shell_error() ve wait_pipe().

Referans veren execute_ast().

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