rt_task_delete3
Delete a real-time task
Usage
#define MODULE #include <linux/module.h> #include <linux/kernel.h> #include <linux/version.h> #include <linux/errno.h> #include <linux/rtf.h>
int rt_task_delete(RT_TASK * task);
Warning
This is RTL v1.x compatibility function. Please do not use it for new programs.
Overview
rt_task_delete deletes a real-time task previously created by a call to rt_task_init. task is the structure with which the task was originally created.
Return value
On success, 0 is returned. On failure, a negative value is returned as described below.
Errors
-EINVAL-
task does not refer to a valid task.