Frees the classes to keys translation table.
Workload Manager Library (libwlm.a)
int wlm_endkey(struct wlm_args *args, void *ctx)
The wlm_endkey subroutine frees the classes to the keys translation table. The memory area pointed to by ctx is freed.
|- ctx||Points to the memory area to be freed.|
|wlm_args||A pointer to a wlm_args structure:
versflag field is the only field in the structure that needs to be initialized with WLM_VERSION and optionally WLM_MUTE.
When the wlm_endkey operation is successful, it returns a value of 0, and if it is unsuccessful, it returns an error code.
If the wlm_endkey subroutine is unsuccessful, one of the
following error codes is returned:
|WLM_BADVERS||Bad version number.|
|WLM_NOT_INITED||Missing call to wlm_init.|
|WLM_EFAULT||Invalid ctx or args argument.|
The wlm_class2key subroutine.
The wlm_initkey subroutine.
The wlm_key2class subroutine.