Did you know ... Search Documentation:
PL_set_prolog_flag()