Let say I use a sub-sub-function that already have some return values and I do not want to add another one. When I use calloc/malloc which returns NULL pointer (no or not enough memory available) ... I would like to generate an event trigger message to report error!
I would like the top level notify immediately to stop or to continue that sub-sub-function (pop-up message or throw an exception is not enough in this case)
What can I do in this case since calloc/malloc does not generate an error report (or some other commands)?