TASK_STATUS

Purpose

task_status returns the status of a task. 

Synopsis

#include <types.h> 
#include <stub.h> 

int task_status(Capability *task, Task_Status *status); 

Parameters

Description

task_status returns the status of the task designated by task. 

Return Values

On success, task_status returns 0 and status contains information about the current task status. 

On fail, task_status returns a negative value indicating one of the following errors: 

See Also

task_create, task_destroy, task_self, task_exit, task_wait