This commit is contained in:
Loic Deridder
2025-01-15 13:41:40 +01:00
parent eedfe4a0ee
commit 0ec78ee34c
11 changed files with 182 additions and 48 deletions

View File

@@ -1 +1,15 @@
#include "../../includes/builtins.h"
void builtin_env(char *str, char **envp)
{
int i;
i = 0;
(void)str;
while (envp[i])
{
if (envp[i][0])
printf("%s\n", envp[i]);
i++;
}
}