]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/task_terminate.html
xnu-7195.60.75.tar.gz
[apple/xnu.git] / osfmk / man / task_terminate.html
old mode 100755 (executable)
new mode 100644 (file)
index 6e340f5..88ea50a
@@ -1 +1,35 @@
-<h2>task_terminate</h2>\r<hr>\r<p>\r<strong>Function</strong> - Terminate the target task and deallocate its resources.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t   task_terminate</strong>\r                <strong>(task_t</strong>            <var>task</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>task</var> \r<dd>\r[in task send right]\rThe port for the task to be destroyed.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>task_terminate</strong> function kills task and all its\rthreads, if any.  The kernel \rfrees all resources that are in use by the task.  The kernel\rdestroys any port for \rwhich the task holds the receive right.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="task_create.html"><strong>task_create</strong></a>,\r<a href="task_suspend.html"><strong>task_suspend</strong></a>,\r<a href="task_resume.html"><strong>task_resume</strong></a>,\r<a href="thread_terminate.html"><strong>thread_terminate</strong></a>,\r<a href="thread_suspend.html"><strong>thread_suspend</strong></a>.\r
\ No newline at end of file
+<h2>task_terminate</h2>
+<hr>
+<p>
+<strong>Function</strong> - Terminate the target task and deallocate its resources.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>kern_return_t   task_terminate</strong>
+                <strong>(task_t</strong>            <var>task</var><strong>);</strong>
+</pre>
+<h3>PARAMETERS</h3>
+<dl>
+<p>
+<dt> <var>task</var> 
+<dd>
+[in task send right]
+The port for the task to be destroyed.
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+The <strong>task_terminate</strong> function kills task and all its
+threads, if any.  The kernel 
+frees all resources that are in use by the task.  The kernel
+destroys any port for 
+which the task holds the receive right.
+<h3>RETURN VALUES</h3>
+<p>
+Only generic errors apply.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="task_create.html"><strong>task_create</strong></a>,
+<a href="task_suspend.html"><strong>task_suspend</strong></a>,
+<a href="task_resume.html"><strong>task_resume</strong></a>,
+<a href="thread_terminate.html"><strong>thread_terminate</strong></a>,
+<a href="thread_suspend.html"><strong>thread_suspend</strong></a>.