/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* error.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: dkaiser void *error(int err_code, char *err_text, int exit_code, int *ret_code) { errno = err_code; perror(err_text); if (ret_code != NULL) *ret_code = exit_code; return (NULL); }