Merge "malloc.h: explicitly suggest malloc_info() instead of mallinfo()."

This commit is contained in:
Elliott Hughes 2019-05-01 05:03:15 +00:00 committed by Gerrit Code Review
commit 5997d53e69

View file

@ -125,7 +125,8 @@ struct mallinfo {
/**
* [mallinfo(3)](http://man7.org/linux/man-pages/man3/mallinfo.3.html) returns
* information about the current state of the heap.
* information about the current state of the heap. Note that mallinfo() is
* inherently unreliable and consider using malloc_info() instead.
*/
struct mallinfo mallinfo(void);