maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
aux.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* aux.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: rocky <marvin@42.fr> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2024/06/19 16:18:49 by rocky #+# #+# */
9
/* Updated: 2024/07/17 14:29:19 by dmdemirk ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
13
#include "
tokens.h
"
14
15
void
make_history
(
char
*line)
16
{
17
if
(*line)
18
add_history(line);
19
write_history(
HISTORY_PATH
);
20
}
make_history
void make_history(char *line)
Definition
aux.c:15
tokens.h
HISTORY_PATH
#define HISTORY_PATH
Definition
tokens.h:27
src
utils
aux.c
Generated by
1.9.8