开发者

exit equivalent in D?

开发者 https://www.devze.com 2023-03-01 04:27 出处:网络
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 we

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

精彩评论

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