xsb_init_string("../XSB -e startup.");
which initializes XSB with the goal ?- startup.
Return Codes
int main(int argc, char *argv[])
{
int myargc = 1;
char *myargv[1];
/* XSB_init relies on the calling program to pass the addr of the XSB
installation directory. From here, it will find all the libraries */
myargv[0] = ".";
/* Initialize xsb */
xsb_init(myargc,myargv);
}
Return Codes