From 0ef00ac103e8b3f5f47745ff61b2c98688b1b695 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 22 Jul 2001 22:26:37 +0000 Subject: add ecalloc, emalloc, erealloc, estrdup - versions of the e-less functions that exit instead of failing --- libutil/libutil.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libutil') diff --git a/libutil/libutil.h b/libutil/libutil.h index aa82caa..758136e 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -76,6 +76,10 @@ int realhostname_sa __P((char *host, size_t hsize, struct sockaddr *addr, #ifdef _STDIO_H_ /* avoid adding new includes */ char *fparseln __P((FILE *, size_t *, size_t *, const char[3], int)); #endif +void *emalloc (size_t); +void *ecalloc (size_t, size_t); +void *erealloc (void *, size_t); +char *estrdup (const char *); __END_DECLS #define UU_LOCK_INUSE (1) -- cgit v1.2.3-56-ge451