Haka: include/haka/system.h Source File

Haka

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

system.h
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
5 #ifndef HAKA_SYSTEM_H
6 #define HAKA_SYSTEM_H
7
8 #include <haka/types.h>
9
14 bool system_register_fatal_cleanup(void (*callback)());
15
19 void fatal_exit(int rc);
20
24 const char *haka_path(void);
25
29 void haka_exit(void);
30
34 bool get_memory_size(size_t *vmsize, size_t *rss);
35
36 #endif /* HAKA_SYSTEM_H */
types.h