summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2018-11-18 16:15:19 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2018-11-18 16:15:19 +0000
commit19c707d39f9cded07862cd5957e1b6200166aaf5 (patch)
tree11bb3b1d7499b83b15efb96feb99ce54808b7931 /include
parenta4a7902489e19d8dd3256311e4687735b73f2851 (diff)
Implement malloc_usable_size(); ok millert@ deraadt@ and jmc@ for the man page
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index d546444c1d7..b0f3dd14782 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdlib.h,v 1.73 2018/11/05 08:23:40 otto Exp $ */
+/* $OpenBSD: stdlib.h,v 1.74 2018/11/18 16:15:18 otto Exp $ */
/* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */
/*-
@@ -112,6 +112,7 @@ long labs(long);
ldiv_t ldiv(long, long);
void *malloc(size_t);
#if __BSD_VISIBLE
+size_t malloc_usable_size(void *);
void freezero(void *, size_t)
__attribute__ ((__bounded__(__buffer__,1,2)));
void *reallocarray(void *, size_t, size_t);