Sun S3L 3.0 Programming and Reference Guide

Setting the Safety Level from Within a Program

To set the Sun S3L safety level from within your program, include the following subroutine call. Specify the desired level in the integer argument n:

To see what Sun S3L safety level is currently in effect, include the following call. Again, specify the level of interest in the integer argument n:

The advantage of using these calls from within a program is that you can set or obtain the safety level at any point within your code. However, you must recompile the code each time you change these calls.