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

The file containing the endif builtin. More...

Functions

int exec_endif (mysh_t *mysh)
 The endif builtin.
 

Detailed Description

The file containing the endif builtin.

Function Documentation

◆ exec_endif()

int exec_endif ( mysh_t * mysh)

The endif builtin.

Parameters
myshThe shell structure
Returns
int 0 if the command succeed, 1 otherwise