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

Bu dosyanın kaynak koduna git.

Fonksiyonlar

int execute_ast (t_shell *shell, t_ast *node)
 AST node'unu tipine göre çalıştır.
int executor (t_shell *shell)
 Ana executor entry point.

Fonksiyon Dokümantasyonu

◆ execute_ast()

int execute_ast ( t_shell * shell,
t_ast * node )

AST node'unu tipine göre çalıştır.

Parametreler
shellShell structure
nodeAST node
Döndürdüğü değer
int exit status

executor.c dosyasının 26 numaralı satırında tanımlanmıştır.

Referanslar s_ast::cmd, execute_ast(), execute_cmd(), execute_pipe(), s_shell::exit_status, s_ast::left, NODE_CMD, NODE_PIPE, NODE_SEQ, s_ast::right ve s_ast::type.

Referans veren execute_ast(), executor(), pipe_left_child() ve pipe_right_child().

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

◆ executor()

int executor ( t_shell * shell)

Ana executor entry point.

Parametreler
shellShell structure
Döndürdüğü değer
int exit status

executor.c dosyasının 52 numaralı satırında tanımlanmıştır.

Referanslar s_shell::ast_root ve execute_ast().

Referans veren process_line().

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