Obtaining the Number of Enabled/Disabled Routines
The IDL_SysRtnGetEnabledNames() function requires you to supply a buffer large enough to hold all of the names to be returned. IDL_SysRtnNumEnabled() can be called to obtain the number of such routines, allowing you to properly size the buffer.
Syntax
IDL_MEMINT IDL_SysRtnNumEnabled(int is_function, int enabled)
Arguments
is_function
Set to TRUE if the number of functions is desired, FALSE for procedures.
enabled
Set to TRUE to receive number of enabled routines, FALSE to receive number of disabled ones.
Result
Returns the requested count.