Files
42sh/bonus/utils.h
2025-05-09 16:51:51 +02:00

21 lines
476 B
C

/*
** EPITECH PROJECT, 2025
** __
** File description:
** _
*/
#ifndef UTILS_H
#define UTILS_H
#include "history.h"
#include "exec.h"
char *strn_to_ndup(int start, int size, char *str);
bool is_a_token(char *str, int index_str);
char *cat_in_str(his_variable_t *his_variable, char *str, char *cpy);
int len_array(char **array);
char *insert_str(const char *base, const char *insert, size_t pos);
void free_everything(exec_ctx_t *exec_ctx);
#endif /* UTILS_H */