- long PL_query(int)
- Obtain status information on the Prolog system. The actual argument type
depends on the information required. int describes what
information is wanted.116Returning
pointers and integers as a long is bad style. The signature of this
function should be changed. The options are given in table
Return an integer holding the number of arguments given to Prolog from Unix.
char **holding the argument vector given to Prolog from Unix.
char *holding the current symbol file of the running process.
Return a long, representing the maximal integer value represented by a Prolog integer.
Return a long, representing the minimal integer value.
Return 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,
Return the default stream encoding of Prolog (of type
Get amount of user CPU time of the process in milliseconds. Table 8 : PL_query() options