Equivalent to output in D?

After searching the documentation on the official site D 2.0 ), I could not find the equivalent in D for the C exit function. A google search also helped me.

So, I would like to know if the function exists simply does not exist or are there any other ways to "get there".

+6
source share
1 answer
import std.c.process; void main() { exit(0); } 
+16
source

Source: https://habr.com/ru/post/886914/


All Articles