SP_predicate() #include <sicstus/sicstus.h>
SP_pred_ref
SP_predicate(char *name_string,
SP_integer 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 are malformed, INV_STRING.
Slower than SP_pred().