[Up] [Contents] [Index] [Summary]

5.6.11 Errors and warnings

Two standard functions are available to print standard Prolog errors to the standard error stream.

int PL_warning(format, a1, ...)
Print an error message starting with `[WARNING: ', followed by the output from format, followed by a `]' and a newline. Then start the tracer. format and the arguments are the same as for printf(2). Always returns FALSE.