Changes in kernel/generic/include/proc/task.h [b7fd2a0:9e87562] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
rb7fd2a0 r9e87562 58 58 #include <udebug/udebug.h> 59 59 #include <mm/as.h> 60 #include <abi/proc/task.h>61 60 #include <abi/sysinfo.h> 62 61 #include <arch.h> … … 157 156 extern void task_release(task_t *); 158 157 extern task_t *task_find_by_id(task_id_t); 159 extern errno_t task_kill(task_id_t);158 extern int task_kill(task_id_t); 160 159 extern void task_kill_self(bool) __attribute__((noreturn)); 161 160 extern void task_get_accounting(task_t *, uint64_t *, uint64_t *); … … 174 173 175 174 #ifdef __32_BITS__ 176 extern sys _errno_t sys_task_get_id(sysarg64_t *);175 extern sysarg_t sys_task_get_id(sysarg64_t *); 177 176 #endif 178 177 … … 181 180 #endif 182 181 183 extern sys _errno_t sys_task_set_name(const char *, size_t);184 extern sys _errno_t sys_task_kill(task_id_t *);185 extern sys _errno_t sys_task_exit(sysarg_t);182 extern sysarg_t sys_task_set_name(const char *, size_t); 183 extern sysarg_t sys_task_kill(task_id_t *); 184 extern sysarg_t sys_task_exit(sysarg_t); 186 185 187 186 #endif
Note:
See TracChangeset
for help on using the changeset viewer.