get_process_alias
been_set.i4.v = get_process_alias(alias.i1a.r [,generic_deflt.i4.v])
This routine returns the process' alias if one has been set.
This value is used by various utilities to disguise their
true process identity. If no alias has been set, the actual
process name is returned.
alias returned process alias (PROCESS_NAME_LEN characters)
[generic_deflt] generic name flag
(TRUE -> return the generic process name,
FALSE -> return process alias (default))
This function returns status values as follows:
TRUE an alias has been set
FALSE no alias has been set
This function requires the following include files:
cnsparam_h, cbslib_h
Related functions:
get_process_alias_number, set_process_alias, get_process_name,
get_process_number, is_test_page, get_task_name_c, get_task_c
C/C++ usage:
char alias[PROCESS_NAME_LEN];
int been_set;
int generic_deflt = FALSE;
been_set = get_process_alias(alias,generic_deflt);