Changes in uspace/lib/posix/source/sys/wait.c [0d0b319:1c635d6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/sys/wait.c
r0d0b319 r1c635d6 42 42 #include "libc/task.h" 43 43 #include "posix/assert.h" 44 45 #include <errno.h> 46 44 #include "posix/errno.h" 47 45 #include "posix/limits.h" 48 46 #include "posix/signal.h" … … 102 100 int retval; 103 101 104 if (failed(task_wait_task_id((task_id_t) pid, &texit, &retval))) { 102 int rc = task_wait_task_id((task_id_t) pid, &texit, &retval); 103 104 if (rc < 0) { 105 105 /* Unable to retrieve status. */ 106 errno = -rc; 106 107 return (posix_pid_t) -1; 107 108 }
Note:
See TracChangeset
for help on using the changeset viewer.