summaryrefslogtreecommitdiffstats
path: root/inc/minishell.h
blob: e3fb5b644b0dd15eea3bddd8ce5256a342dfa3b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);
int ft_history(char *arg);

#endif