Changeset e3c762cd in mainline for generic/src/proc/task.c
- Timestamp:
- 2006-05-05T11:59:19Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- de07bcf
- Parents:
- 22cf454d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/task.c
r22cf454d re3c762cd 49 49 #include <print.h> 50 50 #include <elf.h> 51 51 #include <syscall/copy.h> 52 52 53 53 #ifndef LOADED_PROG_STACK_PAGES_NO … … 171 171 * @param uspace_task_id Userspace address of 8-byte buffer where to store current task ID. 172 172 * 173 * @return Always returns 0.173 * @return 0 on success or an error code from @ref errno.h. 174 174 */ 175 175 __native sys_task_get_id(task_id_t *uspace_task_id) … … 179 179 * remains constant for the lifespan of the task. 180 180 */ 181 copy_to_uspace(uspace_task_id, &TASK->taskid, sizeof(TASK->taskid)); 182 183 return 0; 181 return (__native) copy_to_uspace(uspace_task_id, &TASK->taskid, sizeof(TASK->taskid)); 184 182 } 185 183
Note:
See TracChangeset
for help on using the changeset viewer.