[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , Volume 2


wlm_endkey Subroutine

Purpose

Frees the classes to keys translation table.

Library

Workload Manager Library (libwlm.a)

Syntax

#include <sys/wlm.h>

int wlm_endkey(struct wlm_args *args, void *ctx)

Description

The wlm_endkey subroutine frees the classes to the keys translation table. The memory area pointed to by ctx is freed.

Parameters


- 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.

Return Values

When the wlm_endkey operation is successful, it returns a value of 0, and if it is unsuccessful, it returns an error code.

Error Codes

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.

Related Information

The wlm_class2key subroutine.

The wlm_initkey subroutine.

The wlm_key2class subroutine.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]