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

The file containing the event functions. More...

Functions

int get_history (node_t **list, char *arg)
 
char ** replace_history (char **args)
 Replace '!' by history event.
 

Detailed Description

The file containing the event functions.

Function Documentation

◆ replace_history()

char ** replace_history ( char ** args)

Replace '!' by history event.

Parameters
argsThe command arguments
Returns
char ** The new command arguments