TASK_SELF

Purpose

task_self returns a owner capability for the current task. 

Synopsis

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

int task_self(Capability *task); 

Parameters

Description

task_self selfs returns a owner capability for the current task in task. 

Return Values

task_self always returns 0. 

See Also

task_create, task_destroy, task_status, task_exit, task_wait 

Notes

This not really a task service, but a kernel one.