erlang 中的 c 程序 exit(0) 等效函数调用是什么?

What is the c program exit(0) equivalent function call in erlang?

如何在erlang程序中杀死erlang程序? exit/1 命令的行为与 c 语言标准库 exit 调用不同。

init:stop()(参见init:stop/0, /1) or erlang:halt() (see erlang:halt/0, /1, /2)将立即停止节点。