Changes in uspace/lib/c/generic/task.c [1e9f8ab:dd8d5a7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task.c
r1e9f8ab rdd8d5a7 65 65 * 66 66 * @return Zero on success or negative error code. 67 * 67 68 */ 68 69 int task_set_name(const char *name) 69 70 { 70 71 return __SYSCALL2(SYS_TASK_SET_NAME, (sysarg_t) name, str_size(name)); 71 }72 73 /** Kill a task.74 *75 * @param task_id ID of task to kill.76 *77 * @return Zero on success or negative error code.78 */79 80 int task_kill(task_id_t task_id)81 {82 return (int) __SYSCALL1(SYS_TASK_KILL, (sysarg_t) &task_id);83 72 } 84 73
Note:
See TracChangeset
for help on using the changeset viewer.