Annotation of mstools/h/sys/timeb.h, revision 1.1.1.4

1.1       root        1: /***
1.1.1.3   root        2: *sys/timeb.h - definition/declarations for _ftime()
1.1       root        3: *
1.1.1.4 ! root        4: *      Copyright (c) 1985-1993, Microsoft Corporation. All rights reserved.
1.1       root        5: *
                      6: *Purpose:
                      7: *      This file define the _ftime() function and the types it uses.
                      8: *      [System V]
                      9: *
1.1.1.3   root       10: ****/
1.1       root       11: 
                     12: #ifndef _INC_TIMEB
                     13: 
                     14: #ifdef __cplusplus
                     15: extern "C" {
                     16: #endif
                     17: 
                     18: 
1.1.1.3   root       19: /*
                     20:  * Conditional macro definition for function calling type and variable type
                     21:  * qualifiers.
                     22:  */
                     23: #if   ( (_MSC_VER >= 800) && (_M_IX86 >= 300) )
                     24: 
                     25: /*
                     26:  * Definitions for MS C8-32 (386/486) compiler
                     27:  */
                     28: #define _CRTAPI1 __cdecl
                     29: #define _CRTAPI2 __cdecl
                     30: 
                     31: #else
                     32: 
                     33: /*
                     34:  * Other compilers (e.g., MIPS)
                     35:  */
                     36: #define _CRTAPI1
                     37: #define _CRTAPI2
                     38: 
1.1.1.2   root       39: #endif
1.1       root       40: 
1.1.1.3   root       41: 
1.1       root       42: #ifndef _TIME_T_DEFINED
                     43: typedef long time_t;
                     44: #define _TIME_T_DEFINED
                     45: #endif
                     46: 
                     47: /* structure returned by _ftime system call */
                     48: 
                     49: #ifndef _TIMEB_DEFINED
                     50: struct _timeb {
                     51:        time_t time;
                     52:        unsigned short millitm;
1.1.1.4 ! root       53:        short timezone;
1.1       root       54:        short dstflag;
                     55:        };
                     56: 
                     57: #if !__STDC__
                     58: /* Non-ANSI name for compatibility */
                     59: #define timeb _timeb
                     60: #endif
                     61: 
                     62: #define _TIMEB_DEFINED
                     63: #endif
                     64: 
                     65: 
                     66: /* function prototypes */
                     67: 
1.1.1.3   root       68: void _CRTAPI1 _ftime(struct _timeb *);
1.1       root       69: 
                     70: #if !__STDC__
                     71: /* Non-ANSI name for compatibility */
                     72: #define ftime   _ftime
                     73: #endif
                     74: 
                     75: #ifdef __cplusplus
                     76: }
                     77: #endif
                     78: 
                     79: #define _INC_TIMEB
                     80: #endif /* _INC_TIMEB */

unix.superglobalmegacorp.com

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