Changeset 1be7bee in mainline for uspace/lib/posix/src/sys/wait.c
- Timestamp:
- 2019-08-07T04:20:30Z (6 years ago)
- Children:
- 70d28e8
- Parents:
- fe86d9d
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-10-05 21:17:40)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 04:20:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/sys/wait.c
rfe86d9d r1be7bee 101 101 assert(options == 0 /* None of the options are supported. */); 102 102 103 int flags = TASK_WAIT_RETVAL | TASK_WAIT_EXIT; 103 104 task_exit_t texit; 104 105 int retval; 105 106 106 if (failed(task_wait_task_id((task_id_t) pid, &texit, &retval))) { 107 // TODO repeat wait for both retval and exit 108 if (failed(task_wait_task_id((task_id_t) pid, flags, &texit, &retval))) { 107 109 /* Unable to retrieve status. */ 108 110 return (pid_t) -1;
Note:
See TracChangeset
for help on using the changeset viewer.