Changeset 3e01316f in mainline for uspace/lib/posix/sys/wait.c


Ignore:
Timestamp:
2011-08-17T18:04:50Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
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.
Message:

Merge libposix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/sys/wait.c

    re898296d r3e01316f  
    6767
    6868/**
     69 * Wait for any child process to stop or terminate.
    6970 *
    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.
    7274 */
    7375posix_pid_t posix_wait(int *stat_ptr)
     
    7981
    8082/**
     83 * Wait for a child process to stop or terminate.
    8184 *
    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.
    8692 */
    8793posix_pid_t posix_waitpid(posix_pid_t pid, int *stat_ptr, int options)
Note: See TracChangeset for help on using the changeset viewer.