lkml.org 
[lkml]   [2012]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectmalloc() failure counter
From
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?

Kind Regards

James


\
 
 \ /
  Last update: 2012-04-18 22:37    [W:0.031 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site