Does D supply basic error codes?

mta`chrono chrono at mta-international.net
Sun Jan 29 15:30:30 PST 2012


import core.stdc.stdlib;

int main()
{
	return EXIT_FAILURE; // EXIT_SUCCESS works here too.
}


Am 30.01.2012 00:21, schrieb NewName:
> Hello all.
> C has EXIT_FAILURE and EXIT_SUCCESS to be returned from main().
> Does D have similar predefined values?



More information about the Digitalmars-d-learn mailing list