Does D supply basic error codes?

Jonathan M Davis jmdavisProg at
Sun Jan 29 15:43:36 PST 2012

On Sunday, January 29, 2012 23:21:16 NewName wrote:
> Hello all.
> C has EXIT_FAILURE and EXIT_SUCCESS to be returned from main().
> Does D have similar predefined values?

No, but you can use the C ones if you want, as mta`chrono points out.

- Jonathan M Davis

More information about the Digitalmars-d-learn mailing list