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

The file containing the where builtin. More...

Functions

int exec_where (mysh_t *mysh)
 The where builtin.
 

Detailed Description

The file containing the where builtin.

Function Documentation

◆ exec_where()

int exec_where ( mysh_t * mysh)

The where builtin.

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