mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-11 06:58:47 +02:00
「🏗️」 wip: Started cd and pwd
This commit is contained in:
21
include/builtins.h
Normal file
21
include/builtins.h
Normal file
@ -0,0 +1,21 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* builtins.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/06/22 13:05:18 by adjoly #+# #+# */
|
||||
/* Updated: 2024/06/24 12:47:28 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef BUILTINS_H
|
||||
# define BUILTINS_H
|
||||
|
||||
#include "env.h"
|
||||
|
||||
void ft_pwd(t_env *env);
|
||||
void ft_cd(t_env *env, char *args);
|
||||
|
||||
#endif
|
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/06/10 17:10:18 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/06/22 14:07:50 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -99,7 +99,7 @@ void ft_envclear(t_env **lst, void (*del)(void *));
|
||||
void ft_envdelone(t_env *lst, void (*del)(void *));
|
||||
t_env *ft_envlast(t_env *env);
|
||||
t_env *ft_envnew(char *name, char *content);
|
||||
uint ft_envsize(t_env *lst);
|
||||
unsigned int ft_envsize(t_env *lst);
|
||||
|
||||
/**
|
||||
* @brief DEBUG FUNC : print the actual state of the env struct
|
||||
|
Reference in New Issue
Block a user