aboutsummaryrefslogtreecommitdiff
path: root/include/error.h
blob: 3933fe9efb9d9ce6003ab82657cfc3588fe6a2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   error.h                                            :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: charles <me@cacharle.xyz>                  +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/08/27 20:34:25 by charles           #+#    #+#             */
/*   Updated: 2020/09/10 20:29:17 by charles          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef ERROR_H
# define ERROR_H

# include <stdarg.h>
# include "libft_io.h"

/*
** error.c
*/

# define EVAL_FATAL 1024

void					errorf(const char *format, ...);
void					verrorf(const char *format, va_list ap);
int						errorf_ret(int err, const char *format, ...);

#endif