[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Understanding the Diagnostic Subsystem for AIX

has_diag_authority

Purpose

Checks if a user has the proper authority to run diagnostics.

Syntax


int has_diag_authority chk_shutdown;

Description

The has_diag_authority subroutine checks if the user is authorized to run diagnostics.

Parameters

Parameter Description
chk_shutdown If TRUE, the subroutine checks to see if the user is authorized to shut down the system.

Return Value

Return Value Description
0 User is not authorized to run diagnostics.
1 User is authorized to run diagnostics.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]