Changes in uspace/lib/posix/src/sys/wait.c [1b20da0:a35b458] in mainline
- File:
-
- 1 edited
-
uspace/lib/posix/src/sys/wait.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/sys/wait.c
r1b20da0 ra35b458 95 95 assert(stat_ptr != NULL); 96 96 assert(options == 0 /* None of the options are supported. */); 97 97 98 98 task_exit_t texit; 99 99 int retval; 100 100 101 101 if (failed(task_wait_task_id((task_id_t) pid, &texit, &retval))) { 102 102 /* Unable to retrieve status. */ 103 103 return (pid_t) -1; 104 104 } 105 105 106 106 if (texit == TASK_EXIT_NORMAL) { 107 107 // FIXME: relies on application not returning this value … … 112 112 *stat_ptr = INT_MIN; 113 113 } 114 114 115 115 return pid; 116 116 }
Note:
See TracChangeset
for help on using the changeset viewer.
