X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752:/osfmk/man/task_terminate.html diff --git a/osfmk/man/task_terminate.html b/osfmk/man/task_terminate.html old mode 100755 new mode 100644 index 6e340f57e..88ea50ad1 --- a/osfmk/man/task_terminate.html +++ b/osfmk/man/task_terminate.html @@ -1 +1,35 @@ -

task_terminate


Function - Terminate the target task and deallocate its resources.

SYNOPSIS

kern_return_t   task_terminate
                (task_t            task);

PARAMETERS

task
[in task send right] The port for the task to be destroyed.

DESCRIPTION

The task_terminate 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.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: task_create, task_suspend, task_resume, thread_terminate, thread_suspend. \ No newline at end of file +

task_terminate

+
+

+Function - Terminate the target task and deallocate its resources. +

SYNOPSIS

+
+kern_return_t   task_terminate
+                (task_t            task);
+
+

PARAMETERS

+
+

+

task +
+[in task send right] +The port for the task to be destroyed. +
+

DESCRIPTION

+

+The task_terminate 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. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +task_create, +task_suspend, +task_resume, +thread_terminate, +thread_suspend.