1<H2>task_set_info</h2> 2<hr> 3<p> 4<strong>Function</strong> - Set task-specific information state. 5<h3>SYNOPSIS</h3> 6<pre> 7<strong>#include<task_info.h></strong> 8 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> 13</pre> 14<h3>PARAMETERS</h3> 15<dl> 16<p> 17<dt> <var>target_task</var> 18<dd> 19The task whose information is to be set. 20<p> 21<dt> <var>flavor</var> 22<dd> 23Specifies the type of information to be set. Currently the interface 24supports the setting of a single flavor: 25<strong>TASK_USER_DATA</strong>. 26<p> 27<dt> <var>task_info</var> 28<dd> 29Specifies the information to be set. 30</dl> 31<h3>DESCRIPTION</h3> 32<p> 33The <strong>task_set_info</strong> interface provides the caller with 34the means to set the target task's <var>user_data</var> field. This 35field may be used to specify arbitrarily task-specific data. 36<h3>NOTES</h3> 37<p> 38Currently, this interface is used exclusively to provide freshly 39colocated user tasks with the short-circuited RPC glue vector. 40<h3>RETURN VALUES</h3> 41<p> 42Only generic values apply. 43<h3>RELATED INFORMATION</h3> 44<p> 45