/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* builtins.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: jschaft +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/04/23 14:15:12 by mcolonna #+# #+# */ /* Updated: 2024/06/27 16:08:14 by mcolonna ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef BUILTINS_H # define BUILTINS_H # include "include.h" // Check if the command is a builtin. bool is_builtin(const char *str); // Execute the builtin command int exec_builtin(t_call call, t_env *env); // Execute echo builtin int echo_builtin(const char **argv); #endif