」 feat: now in header :D

This commit is contained in:
y-syo
2024-06-10 17:09:21 +02:00
parent 3b5f1636ac
commit e0bc79fb3b

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
/* Updated: 2024/06/10 16:40:52 by mmoussou ### ########.fr */
/* Updated: 2024/06/10 17:08:57 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -40,6 +40,17 @@ int env_init(char **env_d, t_env *env);
*/
char *env_get_value(char *name, t_env *env);
/**
* @brief get value of an env
*
* @param name name of the variable you want
* @param env the env struct
* @param n length of the name
*
* @return (char *) content of the variable, NULL if doesn't exist
*/
char *env_getn_value(char *name, t_env *env, int n)
/**
* @brief get an array from the env struct
*