Haka: include/haka/error.h Source File

Haka

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

error.h
Go to the documentation of this file.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
10 #ifndef HAKA_ERROR_H
11 #define HAKA_ERROR_H
12
13 #include <haka/types.h>
14 #include <haka/compiler.h>
15
16
17
25 void error(const char *error, ...) FORMAT_PRINTF(1, 2);
26
33 const char *errno_error(int err);
34
38 bool check_error(void);
39
43 const char *clear_error(void);
44
45 #endif /* HAKA_ERROR_H */
types.h
clear_error
const char * clear_error(void)
Definition: error.c:118
check_error
bool check_error(void)
Definition: error.c:107
errno_error
void const char * errno_error(int err)
Definition: error.c:89
error
void error(const char *error,...) FORMAT_PRINTF(1