mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2026-11-27 13:54:52 +01:00
「🔨」 fix(env_cmd): fixed strcmp and env cmds
This commit is contained in:
1 parent
815689e72f
commit
0266cee5cb
4 files changed
+48
-30
No files matched your search
+10
-10
@@ -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