mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-11 06:58:47 +02:00
「🔨」 fix(env_cmd): fixed strcmp and env cmds
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/05/30 15:42:38 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/06/10 16:40:52 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -30,15 +30,6 @@ typedef struct s_env
|
||||
*/
|
||||
int env_init(char **env_d, t_env *env);
|
||||
|
||||
/**
|
||||
* @brief DEBUG FUNC : print the actual state of the env struct
|
||||
*
|
||||
* @param env the env struct that will be printed
|
||||
*
|
||||
* @return (void)
|
||||
*/
|
||||
void env_print(t_env *env);
|
||||
|
||||
/**
|
||||
* @brief get value of an env
|
||||
*
|
||||
@ -99,4 +90,13 @@ t_env *ft_envlast(t_env *env);
|
||||
t_env *ft_envnew(char *name, char *content);
|
||||
uint ft_envsize(t_env *lst);
|
||||
|
||||
/**
|
||||
* @brief DEBUG FUNC : print the actual state of the env struct
|
||||
*
|
||||
* @param env the env struct that will be printed
|
||||
*
|
||||
* @return (void)
|
||||
*/
|
||||
void ft_envprint(t_env *env);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user