Annotation of coherent/f/usr/include/sys/wait.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * /usr/include/sys/wait.h
        !             3:  *
        !             4:  * Support for wait() and waitpid() system calls.
        !             5:  *
        !             6:  * Revised Mon Mar 22 13:10:53 1993 CST
        !             7:  */
        !             8: 
        !             9: #ifndef        __SYS_WAIT_H__
        !            10: #define        __SYS_WAIT_H__
        !            11: 
        !            12: /*
        !            13:  * This header is defined in the POSIX.1 standard ISO/IEC 9945-1:1990, and as
        !            14:  * such client programs which include this header should not use any symbols
        !            15:  * which end in "_t".
        !            16:  */
        !            17: 
        !            18: /*
        !            19:  * The contents of this header are also defined by the provisions of binary
        !            20:  * compatibility standards such as the iBCS2 specification and the System V
        !            21:  * ABI. The visibility of certain symbols defined by those standards may be
        !            22:  * controlled by feature-test macros such as _SYSV3 for iBCS2, and _SYSV4 for
        !            23:  * System V, Release 4.
        !            24:  */
        !            25: 
        !            26: #include <common/ccompat.h>
        !            27: #include <common/__pid.h>
        !            28: #include <common/_wait.h>
        !            29: 
        !            30: #if    _SYSV4 && ! _SYSV3
        !            31: 
        !            32: # define       WEXITED         __WEXITED
        !            33: # define       WTRAPPED        __WTRAPPED
        !            34: 
        !            35: # define       WSTOPFLG        __WSTOPFLG
        !            36: # define       WCOREFLG        __WCOREFLG
        !            37: 
        !            38: # define       WCONTINUED      __WCONTINUED
        !            39: # define       WNOWAIT         __WNOWAIT
        !            40: 
        !            41: # define       WIFCONTINUED(stat)      __WIFCONTINUED (stat)
        !            42: # define       WCOREDUMP(stat)         __WCOREDUMP (stat)
        !            43: 
        !            44: #endif
        !            45: 
        !            46: 
        !            47: #define        WUNTRACED       __WUNTRACED
        !            48: #define        WNOHANG         __WNOHANG
        !            49: 
        !            50: #define        WIFEXITED(stat)         __WIFEXITED (stat)
        !            51: #define        WEXITSTATUS(stat)       __WEXITSTATUS (stat)
        !            52: 
        !            53: #define        WIFSIGNALED(stat)       __WIFSIGNALED (stat)
        !            54: #define        WTERMSIG(stat)          __WTERMSIG (stat)
        !            55: 
        !            56: #define        WIFSTOPPED(stat)        __WIFSTOPPED (stat)
        !            57: #define        WSTOPSIG(stat)          __WSTOPSIG (stat)
        !            58: 
        !            59: 
        !            60: __EXTERN_C_BEGIN__
        !            61: 
        !            62: __pid_t                wait            __PROTO ((int * _stat_loc));
        !            63: __pid_t                waitpid         __PROTO ((__pid_t _pid, int * _stat_loc,
        !            64:                                          int _options));
        !            65: 
        !            66: __EXTERN_C_END__
        !            67: 
        !            68: #endif /* ! defined (__SYS_WAIT_H__) */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.