The Complete SPRLIB & ANNLIB

LIBRARY-flags

- various constants influencing library operation

SYNOPSIS

EXIT_ON_ERROR If compiled with this option, the library will allow exiting the program in case of an error. See sprerror (MESSAGE-functions).
SPR_DATA A string containing an alternative data path. If set, takes the path(s) defined in the environment variable with name SPR_DATA into account. See init_full_fname.
MAXALTPATHS Maximum number of alternative search paths. See init_full_fname.
NO_MONITOR If defined during compilation, SPRANNLIB's replacement memory allocation routines will not be used. See MONITOR-ALLOCATION-functions.
USERLOGFILE String containing the filename of user logfile. See fprintf_userlog.
AUTO_PRIORITY If compiled with this option, increase the nice level of the program if a heavy system load is detected. See TimerHandler.
LIMIT_PRIORITY If compiled with this option in conjunction with AUTO_PRIORITY, do not increase the nice level all the way to 19 but stop at level 12.
LOAD_WARNING A constant specifying the load necessary to trigger the niceness increasing functionality. Set to 3.0.
SPR_VERSION The version string. See sprinit.
MAXFILENAME Maximum length of filename strings. Set to 256.
MATH_PRES The floating point precision (for double precision IEEE floats).

NOTE

These constants are set in version.h and influence system behaviour at compile time. The AUTO_PRIORITY, LOAD_WARNING and USERLOGFILE constants are not set for Turbo-C or GCC. SPR_DATA is currently set to "SPRDATA".

SEE ALSO

sprexit, TimerHandler

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998