Crash exit value

On a crash, I get an exit value through the OS (usually -11), but I
didn’t
find anything in the documentation about it’s meaning.
Did I miss it ? Or is it always -11 on a crash ? Or is related to the
subsystem involved in the crash ?

Hmmm… -11 sounds suspiciously like SIGSEGV. Take a look at the
documentation of signal() : http://rootr.net/man/man/signal/3

Note that the -11 value can be just a coincidence and I may be wrong.

--Gabriel

Hi,
I’m a recent SDL user, and this is my first post.
I’m using only the video layer for imaging software, under
W2000/Mingw/Devcpp, and the events to get the mouse position.

I have a questions about error codes values: (the ones you can fetch with
%errorcode% under a Microsoft OS.)

On a crash, I get an exit value through the OS (usually -11), but I didn’t
find anything in the documentation about it’s meaning.
Did I miss it ? Or is it always -11 on a crash ? Or is related to the
subsystem involved in the crash ?
I think, if there is different values, it could be helpful do debugg your
own stuff.

Somebody as any information ? Thanks.

Sebastien Kramm