summaryrefslogtreecommitdiffstats
path: root/inc/minishell.h
blob: bbb4c2c317d74e864cd07e26914cc5dfc92ab4a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _MINISHELL_H__
#define _MINISHELL_H__

#include <inttypes.h>

#define FT_PS1 "joe-sh~> "

int ft_process_arg(const char *arg);
int ft_echo(char **com, uint8_t n);
int ft_pwd(void);
uint8_t ft_exit(char **com);
int ft_error(const char *com, int errno);
int ft_exec(char **app);

#endif