SWI-Prolog Did You Know Did you know? Nifty call graphs Search Documentation:
PL_get_chars()