12.4.19 Errors and warnings
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Errors and warnings
            • PL_warning()
            • PL_fatal_error()
            • PL_system_error()
            • PL_api_error()
            • PL_print_message()
    • Packages
Availability:C-language interface function
bool PL_print_message(atom_t severity, ...)
Calls print_message/2 using a term constructed from the remaining arguments that are passed to PL_unify_term(). This is similar to setting up a call to print_message/2 using PL_call_predicate(), except that it saves and restores possibly pending exceptions and delayed goals. The severity argument must be valid for print_message/2.