2017-11-30 21:00:47 +01:00
|
|
|
#ifndef UTIL_H_
|
|
|
|
#define UTIL_H_
|
|
|
|
|
|
|
|
void fatal(char *message);
|
|
|
|
|
|
|
|
void *ec_malloc(unsigned int size);
|
|
|
|
|
2017-12-19 21:00:02 +01:00
|
|
|
void _strcpy(char *restrict dest, size_t destsz, char *restrict src);
|
|
|
|
|
|
|
|
void
|
|
|
|
_strncat(char *restrict dest,
|
|
|
|
size_t destsz,
|
|
|
|
char *restrict src,
|
|
|
|
size_t srcsz);
|
|
|
|
|
2017-11-30 21:00:47 +01:00
|
|
|
#endif // UTIL_H_
|