SP_predicate()
#include <sicstus/sicstus.h> SP_pred_ref SP_predicate(char *name_string, long arity, char *module_string);
Returns a pointer to the predicate definition.
NULL
and ""
(the empty string)
both denote the type-in module (see ref-mod-tyi).
The reference if the predicate is found,
NULL
otherwise with error code PRED_NOT_FOUND
or, if one of the string arguments is malformed, INV_STRING
.
Slower than SP_pred()
.