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

The file containing the tilde functions. More...

Functions

int check_tilde (mysh_t *mysh)
 Transform the tilde in the command line by the home path.
 

Detailed Description

The file containing the tilde functions.

Function Documentation

◆ check_tilde()

int check_tilde ( mysh_t * mysh)

Transform the tilde in the command line by the home path.

Parameters
myshThe shell structure
Returns
int 0 if the replacement is successful, 1 otherwise