mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
builtin: implement pwd
This commit is contained in:
parent
1c4733b1cc
commit
5ce4a2b85f
7 changed files with 167 additions and 2 deletions
21
src/executing/simple_cmd/builtins.h
Normal file
21
src/executing/simple_cmd/builtins.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* builtins.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/03/31 14:16:13 by khais #+# #+# */
|
||||
/* Updated: 2025/03/31 14:21:46 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef BUILTINS_H
|
||||
# define BUILTINS_H
|
||||
|
||||
# include "simple_cmd_execute.h"
|
||||
|
||||
t_builtin_type builtin_invalid(t_simple_cmd *cmd, t_minishell *app);
|
||||
t_builtin_type builtin_pwd(t_simple_cmd *cmd, t_minishell *app);
|
||||
|
||||
#endif // BUILTINS_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue