1*c54f35caSApple OSS Distributions<H2>task_set_info</h2> 2*c54f35caSApple OSS Distributions<hr> 3*c54f35caSApple OSS Distributions<p> 4*c54f35caSApple OSS Distributions<strong>Function</strong> - Set task-specific information state. 5*c54f35caSApple OSS Distributions<h3>SYNOPSIS</h3> 6*c54f35caSApple OSS Distributions<pre> 7*c54f35caSApple OSS Distributions<strong>#include<task_info.h></strong> 8*c54f35caSApple OSS Distributions 9*c54f35caSApple OSS Distributions<strong>kern_return_t task_set_info</strong> 10*c54f35caSApple OSS Distributions <strong>(task_t</strong> <var>target_task</var>, 11*c54f35caSApple OSS Distributions <strong>task_flavor_t</strong> <var>flavor</var>, 12*c54f35caSApple OSS Distributions <strong>task_info_t</strong> <var>task_info</var><strong>);</strong> 13*c54f35caSApple OSS Distributions</pre> 14*c54f35caSApple OSS Distributions<h3>PARAMETERS</h3> 15*c54f35caSApple OSS Distributions<dl> 16*c54f35caSApple OSS Distributions<p> 17*c54f35caSApple OSS Distributions<dt> <var>target_task</var> 18*c54f35caSApple OSS Distributions<dd> 19*c54f35caSApple OSS DistributionsThe task whose information is to be set. 20*c54f35caSApple OSS Distributions<p> 21*c54f35caSApple OSS Distributions<dt> <var>flavor</var> 22*c54f35caSApple OSS Distributions<dd> 23*c54f35caSApple OSS DistributionsSpecifies the type of information to be set. Currently the interface 24*c54f35caSApple OSS Distributionssupports the setting of a single flavor: 25*c54f35caSApple OSS Distributions<strong>TASK_USER_DATA</strong>. 26*c54f35caSApple OSS Distributions<p> 27*c54f35caSApple OSS Distributions<dt> <var>task_info</var> 28*c54f35caSApple OSS Distributions<dd> 29*c54f35caSApple OSS DistributionsSpecifies the information to be set. 30*c54f35caSApple OSS Distributions</dl> 31*c54f35caSApple OSS Distributions<h3>DESCRIPTION</h3> 32*c54f35caSApple OSS Distributions<p> 33*c54f35caSApple OSS DistributionsThe <strong>task_set_info</strong> interface provides the caller with 34*c54f35caSApple OSS Distributionsthe means to set the target task's <var>user_data</var> field. This 35*c54f35caSApple OSS Distributionsfield may be used to specify arbitrarily task-specific data. 36*c54f35caSApple OSS Distributions<h3>NOTES</h3> 37*c54f35caSApple OSS Distributions<p> 38*c54f35caSApple OSS DistributionsCurrently, this interface is used exclusively to provide freshly 39*c54f35caSApple OSS Distributionscolocated user tasks with the short-circuited RPC glue vector. 40*c54f35caSApple OSS Distributions<h3>RETURN VALUES</h3> 41*c54f35caSApple OSS Distributions<p> 42*c54f35caSApple OSS DistributionsOnly generic values apply. 43*c54f35caSApple OSS Distributions<h3>RELATED INFORMATION</h3> 44*c54f35caSApple OSS Distributions<p> 45