Changeset 7f1c620 in mainline for generic/src/proc/task.c
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/task.c
r991779c5 r7f1c620 241 241 * @return 0 on success or an error code from @ref errno.h. 242 242 */ 243 __nativesys_task_get_id(task_id_t *uspace_task_id)243 unative_t sys_task_get_id(task_id_t *uspace_task_id) 244 244 { 245 245 /* … … 247 247 * remains constant for the lifespan of the task. 248 248 */ 249 return ( __native) copy_to_uspace(uspace_task_id, &TASK->taskid, sizeof(TASK->taskid));249 return (unative_t) copy_to_uspace(uspace_task_id, &TASK->taskid, sizeof(TASK->taskid)); 250 250 } 251 251
Note:
See TracChangeset
for help on using the changeset viewer.