exit equivalent in D?
After search开发者_StackOverflow中文版ing the documentation over at the official (D 2.0 site) I have been unable to find an equivalent in D for the C function exit. Searching on Google failed me as well.
So I'd like to know if the function does simply not exist or if there are any other ways to "get there".
import std.c.process;
void main() {
exit(0);
}
精彩评论