diff options
author | assar <assar@FreeBSD.org> | 2001-07-22 22:26:37 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-07-22 22:26:37 +0000 |
commit | 8668d652182d9e8318c7d79f423f8a0163258715 (patch) | |
tree | 2e4bb8906aed4fcfcfcd6fd955816ec78126208b /lib/libutil/libutil.h | |
parent | 08e82b6d3d1211c44bc3fcb70a0aef0a3e64d43f (diff) | |
download | FreeBSD-src-8668d652182d9e8318c7d79f423f8a0163258715.zip FreeBSD-src-8668d652182d9e8318c7d79f423f8a0163258715.tar.gz |
add ecalloc, emalloc, erealloc, estrdup - versions of the e-less
functions that exit instead of failing
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r-- | lib/libutil/libutil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index aa82caa..758136e 100644 --- a/lib/libutil/libutil.h +++ b/lib/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) |