System.stop

You're seeing just the function stop, go back to System module for more information.
Link to this function

stop(status \\ 0)

View Source (since 1.5.0)

Specs

stop(non_neg_integer() | binary()) :: no_return()

Carefully stops the Erlang runtime system.

All applications are taken down smoothly, all code is unloaded, and all ports are closed before the system terminates by calling halt/1.

status must be a non-negative integer value which is returned by the runtime system to the operating system.

Note that on many platforms, only the status codes 0-255 are supported by the operating system.

Examples

System.stop(0)
System.stop(1)