[ADD] add some buitlin
This commit is contained in:
parent
1091ddf32f
commit
823c5b8ac8
5 changed files with 51 additions and 11 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jschaft <cecile.schaft@orange.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/23 14:15:12 by mcolonna #+# #+# */
|
||||
/* Updated: 2024/06/13 13:00:54 by mcolonna ### ########.fr */
|
||||
/* Updated: 2024/06/25 11:38:41 by jschaft ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -19,6 +19,6 @@
|
|||
bool is_builtin(const char *str);
|
||||
|
||||
// Execute the builtin command
|
||||
int exec_builtin(t_call call);
|
||||
int exec_builtin(t_call call, char *const envp[]);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jschaft <cecile.schaft@orange.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/23 14:15:12 by mcolonna #+# #+# */
|
||||
/* Updated: 2024/06/13 13:50:43 by mcolonna ### ########.fr */
|
||||
/* Updated: 2024/06/25 11:46:04 by jschaft ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -15,6 +15,8 @@
|
|||
|
||||
# include "include.h"
|
||||
|
||||
t_memclass *get_global_mc_pointer(void);
|
||||
|
||||
// Set the global mc freed when exit.
|
||||
void set_global_mc(t_memclass mc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue