NAME
task_terminate - destroys specified task
SYNOPSIS
#include <mach.h>
kern_return_t
task_terminate(target_task)
task_t target_task;
ARGUMENTS
target_task The task to be destroyed.
DESCRIPTION
task_terminate destroys the task specified by target_task
and all
its threads. All resources that are used only by this task
are
freed. Any port to which this task has receive and ownership
rights
is destroyed.
DIAGNOSTICS
KERN_SUCCESS The task has been killed.
KERN_INVALID_ARGUMENT target_task is not a task.
SEE ALSO
task_create(2), task_suspend(2), task_resume(2),
thread_terminate(2), thread_suspend(2)
BUGS
Not implemented yet.