Initializes the user interface.
#include <diag/diago.h> long diag_asl_init ( name ) char *name;
The diag_asl_init subroutine is used to initialize the user interface and should be the first call made to the user interface.
name | Identifies any options. This field has the following values:
|
The following values are returned:
DIAG_ASL_OK | Successful return. |
DIAG_ASL_ERR_NO_SUCH_TERM | Specified TERM entry does not exist. |
DIAG_ASL_ERR_TERMINFO_GET | TERMINFO get failed. |
DIAG_ASL_ERR_NO_TERM | TERM entry missing. |
DIAG_ASL_ERR_INITSCR | Initscr() failed. |
DIAG_ASL_ERR_SCREEN_SIZE | Screen/window size less than minimum. |