12.2.6 Initialization

shuts down the Prolog engine
SP_force_interactive() [preinit]
consider standard streams to be interactive streams, even if they appear not to be TTY streams
SP_initialize() [macro]
initializes the Prolog engine
sets the argv prolog flag.
SP_set_memalloc_hooks() [preinit]
provide the memory management bottom layer
SP_set_user_stream_hook() [preinit]
SP_set_user_stream_post_hook() [preinit]
provide hooks for setting up standard streams
SU_initialize() [hook]
called before initializing the Prolog engine in applications built with --userhook

Send feedback on this subject.