What is a program call (0) equivalent function in erlang?

How to kill erlang program in erlang program? The exit / 1 command does not behave the same as the c language standard library exit .

+4
source share
1 answer

init:stop()(see init: stop / 0, / 1 ) or erlang:halt()(see erlang: halt / 0, / 1, / 2 ) will stop the node immediately.

+7
source

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


All Articles