Availability:C-language interface function
int PL_call_predicate(module_t
m, int flags, predicate_t pred, term_t +t0)Shorthand for PL_open_query(), PL_next_solution(), PL_cut_query(),
generating a single solution. The arguments are the same as for
PL_open_query(),
the return value is the same as PL_next_solution().