HOOK_setenv
2-142
C Interface
Syntax
HOOK_setenv(task, id, environ);
Parameters
TSK_Handle task;
/* task object handle */
HOOK_Id
id;
/* HOOK instance id */
Ptr
environ;
/* environment pointer */
Return Value
Void
Reentrant
yes
Description
HOOK_setenv sets the environment pointer associated with the specified
HOOK and TSK objects to environ. The environment pointer, environ,
should reference an data structure to be used by the hook functions for a
task or tasks.
Each HOOK object may have a separate environment pointer for each
task. A HOOK object may also point to the same data structure for all
tasks, depending on its data sharing needs.
The HOOK_getenv function can be used to get the environ pointer for a
particular HOOK and TSK object combination.
See Also
HOOK_setenv
Set environment pointer for a given HOOK and TSK combination