开发者

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);
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜