#include #include int ft_error(const char *com, int errno) { ft_putstr("joe-sh: "); ft_putstr(com); if (errno == 1) ft_putendl(": too many arguments"); else if (errno == 127) ft_putendl(": command not found"); else if (errno == 255) ft_putendl(": numeric argument required"); return (errno); }