Hello world :-)

I am working more in C recently than in for instance Python. Using
structures with pointers to structures or even pointers to functions
with pointer parameters. The problem is for instance some pointers
will not always be null but still invalid so the references cause
panic and reboot.

Is there any way to handle especially the worst of exceptions in any
other way than kernel panic?

For instance Python has this try-except block, C++ has this try-catch
block. This allows handling gracefully even worst exceptions (or only
selected ones).

Is there anything like this in C / NuttX? :-)

Any hints welcome :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to