12.4.25 Embedding SWI-Prolog in other applications
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Foreign Language Interface
The Foreign Include File
Embedding SWI-Prolog in other applications
PL_initialise()
PL_winitialise()
PL_is_initialised()
PL_set_resource_db_mem()
PL_toplevel()
PL_cleanup()
PL_cleanup_fork()
PL_halt()
Threading, Signals and embedded Prolog
Packages
Availability:
C-language interface function
int
PL_halt
(
int status
)
Clean up the Prolog environment using
PL_cleanup()
and if successful call exit() with the status argument. Returns
FALSE
if exit was cancelled by
PL_cleanup()
.