diag_exec_source
Purpose
Returns an indication of where diagnostics is being run from.
Syntax
int diag_exec_source ( mount_point )
char *mount_point;
Description
The diag_exec_source determines where the diagnostics program is run from. If not from hard file, then mount_point contains the directory where the file system resides (CDRFS).
Parameters
Parameter | Description |
---|---|
mount_point | Character pointer to directory name where the file system resides. |
Return Value
The diag_exec_source subroutine returns one of the following values:
Return Value | Description |
---|---|
0 | Running from hardfile. |
1 | Running from CD-ROM. |