4 <strong>Function
</strong> - Set task-specific information state.
7 <strong>#include<task_info.h>
</strong>
9 <strong>kern_return_t task_set_info
</strong>
10 <strong>(task_t
</strong> <var>target_task
</var>,
11 <strong>task_flavor_t
</strong> <var>flavor
</var>,
12 <strong>task_info_t
</strong> <var>task_info
</var><strong>);
</strong>
17 <dt> <var>target_task
</var>
19 The task whose information is to be set.
21 <dt> <var>flavor
</var>
23 Specifies the type of information to be set. Currently the interface
24 supports the setting of a single flavor:
25 <strong>TASK_USER_DATA
</strong>.
27 <dt> <var>task_info
</var>
29 Specifies the information to be set.
33 The
<strong>task_set_info
</strong> interface provides the caller with
34 the means to set the target task's
<var>user_data
</var> field. This
35 field may be used to specify arbitrarily task-specific data.
38 Currently, this interface is used exclusively to provide freshly
39 colocated user tasks with the short-circuited RPC glue vector.
40 <h3>RETURN VALUES
</h3>
42 Only generic values apply.
43 <h3>RELATED INFORMATION
</h3>