maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
builtins_utils.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* builtins_utils.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: rocky <marvin@42.fr> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2024/11/06 14:23:42 by rocky #+# #+# */
9/* Updated: 2024/11/06 14:23:44 by rocky ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#include "shell.h"
14#include "libft.h"
15#include <stdlib.h>
16#include <stdio.h>
17#include "env.h"
18#include "exit_status.h"
19#include "tokens.h"
20#include "signals.h"
21#include "builtins.h"
22
24{
25 t_signal_context *context;
26
27 context = get_context(NULL);
28 free(context);
29}
30
32{
33 remove(HISTORY_PATH);
34}
void free_signal_context(void)
void clear_history_file(void)
t_signal_context * get_context(t_ms_data *data)
#define HISTORY_PATH
Definition tokens.h:27