Retract command in CLIPS will remove one fact in CLIPS. What is equivalent API in C code.
clips.retract is not working
All C APIs for CLIPS are documented in CLIPS advanced programming guide. Check page 105:
4.4.23 EnvRetract
int EnvRetract(environment,factPtr);
void *environment;
void *factPtr;
Purpose:
Retracts a fact from the CLIPS fact-list (the C equivalent of the
CLIPS retract command).
Hope this answers your question