Annotation of coherent/f/usr/include/common/__clock.h, revision 1.1

1.1     ! root        1: #ifndef        __COMMON___CLOCK_H__
        !             2: #define        __COMMON___CLOCK_H__
        !             3: 
        !             4: /*
        !             5:  * This internal header file is intended as the sole point of definition for
        !             6:  * the internal data type "__clock_t", exactly like the ISO C data type
        !             7:  * "clock_t" but with an internal same so that headers which define function
        !             8:  * prototypes needing this type need not actually import the type into the
        !             9:  * user's namespace.
        !            10:  *
        !            11:  * Several specifications including iBCS2 and the System V ABI define the
        !            12:  * "clock_t" type as an unsigned long, although POSIX.1 and the C standard
        !            13:  * permit the use of an unsigned type (which dramatically extends the range
        !            14:  * of times that can be represented).
        !            15:  *
        !            16:  * Accordingly, we select the type here on the basis of feature-test macros.
        !            17:  */
        !            18: 
        !            19: #if    _POSIX_SOURCE || _STDC_SOURCE || _DDI_DKI
        !            20: 
        !            21: typedef        unsigned long   __clock_t;
        !            22: 
        !            23: #else
        !            24: 
        !            25: typedef        long            __clock_t;
        !            26: 
        !            27: #endif
        !            28: 
        !            29: #endif /* ! defined (__COMMON___CLOCK_H__) */

unix.superglobalmegacorp.com

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