Changes in kernel/generic/src/proc/task.c [1e9f8ab:dd8d5a7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r1e9f8ab rdd8d5a7 360 360 } 361 361 362 /** Syscall to forcefully terminate a task363 *364 * @param uspace_taskid Pointer to task ID in user space.365 *366 * @return 0 on success or an error code from @ref errno.h.367 *368 */369 sysarg_t sys_task_kill(task_id_t *uspace_taskid)370 {371 task_id_t taskid;372 int rc;373 374 rc = copy_from_uspace(&taskid, uspace_taskid, sizeof(taskid));375 if (rc != 0)376 return (sysarg_t) rc;377 378 return (sysarg_t) task_kill(taskid);379 }380 381 362 /** Find task structure corresponding to task ID. 382 363 *
Note:
See TracChangeset
for help on using the changeset viewer.