Annotation of coherent/f/usr/include.78/sys/__clock.h, revision 1.1.1.1

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

unix.superglobalmegacorp.com

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