Messages in this thread | | | Date | Tue, 17 Apr 2012 16:19:24 -0700 | From | "H. Peter Anvin" <> | Subject | Re: malloc() failure counter |
| |
On 04/17/2012 03:02 PM, James Courtier-Dutton wrote: > Hi, > > If I have a user application that tries a malloc() or a calloc() call, > and this call fails, is there any way to report this to a global stats > counter, like the ones in /proc/meminfo > Is there any way to find out that a malloc call made by a user program failed? >
No, because that is an internal thing to glibc.
-hpa
| |