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

The file containing the which builtin. More...

Functions

int exec_which (mysh_t *mysh)
 The which builtin.
 

Detailed Description

The file containing the which builtin.

Function Documentation

◆ exec_which()

int exec_which ( mysh_t * mysh)

The which builtin.

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