rt_task_delete2
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);
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.
Releases
Unchanged in 2 releases since Debian 2.2 (Potato).