jcs ratpoison hax
at master 13 lines 318 B view raw
1#ifndef UTIL_H 2#define UTIL_H 3 4void fatal (const char *msg); 5void *xmalloc (size_t size); 6void *xrealloc (void *ptr, size_t size); 7char *xstrdup (const char *s); 8char *xvsprintf (char *fmt, va_list ap); 9char *xsprintf (char *fmt, ...); 10char *strtok_ws (char *s); 11int str_comp (char *s1, char *s2, size_t len); 12 13#endif