squareball 0.2.0.50-8649 A general-purpose library for C99

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

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_strerror_new
sb_error_t * sb_strerror_new(const char *msg)
sb_strerror_new_printf
sb_error_t * sb_strerror_new_printf(const char *format,...)
sb-error.h
Error reporting infrastructure.
sb_error_t
struct _sb_error_t sb_error_t
Definition: sb-error.h:71