squareball  0.2.0.53-dd5b
A general-purpose library for C99
sb-strerror.h
Go to the documentation of this file.
1 /*
2  * squareball: A general-purpose library for C99.
3  * Copyright (C) 2014-2018 Rafael G. Martins <rafael@rafaelmartins.eng.br>
4  *
5  * This program can be distributed under the terms of the BSD License.
6  * See the file LICENSE.
7  */
8 
9 #ifndef _SQUAREBALL_STRERROR_H
10 #define _SQUAREBALL_STRERROR_H
11 
12 #include <stdarg.h>
13 #include "sb-error.h"
14 
39 sb_error_t* sb_strerror_new(const char *msg);
40 
49 sb_error_t* sb_strerror_new_printf(const char *format, ...);
50 
53 #endif /* _SQUAREBALL_STRERROR_H */
sb_error_t * sb_strerror_new(const char *msg)
sb_error_t * sb_strerror_new_printf(const char *format,...)
Error reporting infrastructure.
struct _sb_error_t sb_error_t
Definition: sb-error.h:71