Returns the value associated with the specified key.
#include <nks/thread.h> int NXKeyGetValue ( NXKey_t key, void **value);
(IN) Specifies the key for which the value is to be returned.
(OUT) Points to a location in which to return the value of the specified key. The default initial value associated with each context for an allocated key is NULL.
If successful, returns 0; otherwise, returns a nonzero error code:
NXKeyGetValue returns the value associated with the specified key for the invoking context.
For sample code, see KeyValue.c.