Import ealloc.c from ubase
This commit is contained in:
		
							
								
								
									
										5
									
								
								util.h
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								util.h
									
									
									
									
									
								
							| @@ -17,14 +17,19 @@ extern char *argv0; | ||||
| char *agetcwd(void); | ||||
| void apathmax(char **, long *); | ||||
| void enmasse(int, char **, int (*)(const char *, const char *)); | ||||
| void *ecalloc(size_t, size_t); | ||||
| void *emalloc(size_t size); | ||||
| void *erealloc(void *, size_t); | ||||
| void eprintf(const char *, ...); | ||||
| void enprintf(int, const char *, ...); | ||||
| char *estrdup(const char *); | ||||
| double estrtod(const char *); | ||||
| long estrtol(const char *, int); | ||||
| void fnck(const char *, const char *, int (*)(const char *, const char *)); | ||||
| char *humansize(double); | ||||
| void putword(const char *); | ||||
| void recurse(const char *, void (*)(const char *)); | ||||
|  | ||||
| #undef strlcat | ||||
| size_t strlcat(char *, const char *, size_t); | ||||
| #undef strlcpy | ||||
|   | ||||
		Reference in New Issue
	
	Block a user