2002-04-22 13:24:35 +04:00
|
|
|
/**
|
2002-05-22 01:27:29 +04:00
|
|
|
* $Id: utils.h,v 1.2 2002/05/21 21:27:29 bursa Exp $
|
2002-04-22 13:24:35 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
void die(const char * const error);
|
|
|
|
char * strip(char * const s);
|
|
|
|
int whitespace(const char * str);
|
|
|
|
void * xcalloc(const size_t n, const size_t size);
|
|
|
|
void * xrealloc(void * p, const size_t size);
|
|
|
|
char * xstrdup(const char * const s);
|
|
|
|
char * load(const char * const path);
|
2002-05-22 01:27:29 +04:00
|
|
|
char * squash_whitespace(const char * s);
|
|
|
|
|