How to exit a process?

spir denis.spir at gmail.com
Mon Dec 6 11:53:08 PST 2010


On Mon, 6 Dec 2010 19:11:59 +0000 (UTC)
Adam Ruppe <destructionator at gmail.com> wrote:

> Is there a thing like C's exit() for a D program? Is
> simply using C's function good enough?

I use:
	import core.stdc.stdlib : exit;
	// debug tool func
	void stop () {exit(0);}

denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com



More information about the Digitalmars-d-learn mailing list