Availability:C-language interface function
PL_QUERY_ARGCReturn an integer holding the number of arguments given to Prolog from Unix. PL_QUERY_ARGVReturn a char **holding the argument vector given to Prolog from Unix.PL_QUERY_SYMBOLFILEReturn a char *holding the current symbol file of the running process.PL_MAX_INTEGERReturn a long, representing the maximal integer value represented by a Prolog integer. PL_MIN_INTEGERReturn a long, representing the minimal integer value. PL_QUERY_VERSIONReturn a long, representing the version as 10,000 × M + 100 × m + p, where M is the major, m the minor version number and p the patch level. For example, 20717means2.7.17.PL_QUERY_ENCODINGReturn the default stream encoding of Prolog (of type IOENC).PL_QUERY_USER_CPUGet amount of user CPU time of the process in milliseconds.
Table 9 : PL_query()
options