-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.c
23 lines (20 loc) · 1.02 KB
/
env.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* env.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adel-cor <adel-cor@student.42urduli> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/04/05 11:41:35 by adel-cor #+# #+# */
/* Updated: 2022/04/12 10:22:19 by adel-cor ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
int built_envp(t_cdata *t_cdata)
{
int i;
i = 0;
while (t_cdata->envp[i])
printf("%s\n", t_cdata->envp[i++]);
return (0);
}