42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
pipes.c File Reference

The file containing the pipes functions. More...

#include "../../include/myshell.h"
#include <sys/mman.h>

Functions

int set_pipe_list (mysh_t *mysh, char *line)
 Set the pipe list (input_list and pipe_cmds)
 
void analyse_pipes (mysh_t *mysh, char *line)
 Analyse and execute the pipes.
 

Detailed Description

The file containing the pipes functions.

Function Documentation

◆ analyse_pipes()

void analyse_pipes ( mysh_t * mysh,
char * line )

Analyse and execute the pipes.

Parameters
myshThe shell structure
lineThe command line
Returns
void

◆ set_pipe_list()

int set_pipe_list ( mysh_t * mysh,
char * line )

Set the pipe list (input_list and pipe_cmds)

Parameters
myshThe shell structure
lineThe command line
Returns
void