stdlib.exit()

David d at dav1d.de
Mon Aug 20 13:04:01 PDT 2012


> Or the D runtime could just use the "atexit" function defined in
> stdlib.h. Just add a callback which terminates the D runtime.
>
> http://pubs.opengroup.org/onlinepubs/009695299/functions/atexit.html

If i interpret it correctly, a call to Runtime.terminate() (as I am 
doing right now), is the only and correct way?



More information about the Digitalmars-d-learn mailing list