Sun S3L 3.0 Programming and Reference Guide

S3L_get_safety

Description

When S3L_get_safety is called from within an application, the value it returns indicates the current setting of the S3L safety mechanism. The possible return values are listed and their meaning explained in Table 7-2.

Syntax

The C and Fortran syntax for S3L_set_safety are shown below.

C/C++ Syntax


Example 7-57

#include <s3l/s3l-c.h>
#include <s3l/s3l_errno-c.h>
int
S3L_get_safety()

F77/F90 Syntax


Example 7-58

include `s3l/s3l-f.h'
include `s3l/s3l_errno-f.h'
subroutine
S3L_get_safety(ier)
    integer*4          ier

Input

S3L_get_safety takes no input arguments.

Output

S3L_get_safety returns the S3L safety level. When called by a Fortran program, it uses the following argument for output:

Examples

../examples/s3l/utils/copy_array.c
../examples/s3l/utils-f/copy_array.f

Related Functions

S3L_set_safety(3)