Parent Directory
|
Revision Log
refactor(uar): better I/O strategies to decrease memory usage
1 | #ifndef UAR_XMALLOC_H |
2 | #define UAR_XMALLOC_H |
3 | |
4 | #include <stddef.h> |
5 | |
6 | /* Allocate memory and abort process on error. */ |
7 | void *xmalloc (size_t size); |
8 | |
9 | /* Allocate 'n' zeroed memory block of 'size' and abort process on error. */ |
10 | void *xcalloc (size_t nmemb, size_t size); |
11 | |
12 | /* Reallocate memory and abort process on error. */ |
13 | void *xrealloc (void *ptr, size_t size); |
14 | |
15 | #endif /* UAR_XMALLOC_H */ |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |