Changeset 3e01316f in mainline for uspace/lib/posix/sys/wait.c
- Timestamp:
- 2011-08-17T18:04:50Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0cf27ee
- Parents:
- e898296d (diff), e6165be (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/sys/wait.c
re898296d r3e01316f 67 67 68 68 /** 69 * Wait for any child process to stop or terminate. 69 70 * 70 * @param stat_ptr 71 * @return 71 * @param stat_ptr Location of the final status code of the child process. 72 * @return ID of the child process for which status is reported, 73 * -1 on signal interrupt, (pid_t)-1 otherwise. 72 74 */ 73 75 posix_pid_t posix_wait(int *stat_ptr) … … 79 81 80 82 /** 83 * Wait for a child process to stop or terminate. 81 84 * 82 * @param pid 83 * @param stat_ptr 84 * @param options 85 * @return 85 * @param pid What child process shall the caller wait for. See POSIX manual 86 * for details. 87 * @param stat_ptr Location of the final status code of the child process. 88 * @param options Constraints of the waiting. See POSIX manual for details. 89 * @return ID of the child process for which status is reported, 90 * -1 on signal interrupt, 0 if non-blocking wait is requested but there is 91 * no child process whose status can be reported, (pid_t)-1 otherwise. 86 92 */ 87 93 posix_pid_t posix_waitpid(posix_pid_t pid, int *stat_ptr, int options)
Note:
See TracChangeset
for help on using the changeset viewer.