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

1.1     ! root        1: /*
        !             2:  * /usr/include/sys/__time.h
        !             3:  *
        !             4:  * Definition of __time_t.
        !             5:  *
        !             6:  * Revised: Wed May 19 10:27:34 1993 CDT
        !             7:  */
        !             8: #ifndef        __SYS___TIME_H__
        !             9: #define        __SYS___TIME_H__
        !            10: 
        !            11: /*
        !            12:  * This internal header file is intended as the sole point of definition for
        !            13:  * the internal data type "__time_t", exactly equivalent to the ISO C data
        !            14:  * type "time_t" but given an internal name so that header files may refer
        !            15:  * to the type without exporting the user-level type unnecessarily.
        !            16:  *
        !            17:  * The System V ABI and the iBCS2 specification set define "time_t" as a long.
        !            18:  * A POSIX.1 system is permitted to use "unsigned long" to extend the range of
        !            19:  * time values since the POSIX.1 epoch, since comforming applications should
        !            20:  * be using ((time_t) -1) to detect errors.
        !            21:  *
        !            22:  * For now, we resolve this conflict by use of the _POSIX_SOURCE feature-test
        !            23:  * macro. If _POSIX_SOURCE is defined, then we use the "unsigned long" form as
        !            24:  * the client has contracted us in a POSIX guise.
        !            25:  */
        !            26: 
        !            27: #if    defined(_POSIX_SOURCE)
        !            28: 
        !            29: typedef        unsigned long   __time_t;
        !            30: 
        !            31: #else
        !            32: 
        !            33: typedef        long            __time_t;
        !            34: 
        !            35: #endif
        !            36: 
        !            37: 
        !            38: #endif /* ! defined (__SYS___TIME_H__) */

unix.superglobalmegacorp.com

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