The Prolog session is ended and the specified status returned to the
operating system.
+Status
Integer
Description
Used to exit from the Prolog session. If user_end/0 is defined and
global, it is called. All buffers are flushed, streams are closed and
ECLiPSe exits. The specified status code is returned to the operating
system. exit(0) is identical with halt.