|
|
1.1 root 1: /*** 1.1.1.3 ! root 2: *sys/timeb.h - definition/declarations for _ftime() 1.1 root 3: * 1.1.1.2 root 4: * Copyright (c) 1985-1992, 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: #elif ( _MSC_VER == 600 ) ! 32: ! 33: /* ! 34: * Definitions for old MS C6-386 compiler ! 35: */ ! 36: #define _CRTAPI1 _cdecl ! 37: #define _CRTAPI2 _cdecl ! 38: #define _M_IX86 300 ! 39: ! 40: #else ! 41: ! 42: /* ! 43: * Other compilers (e.g., MIPS) ! 44: */ ! 45: #define _CRTAPI1 ! 46: #define _CRTAPI2 ! 47: 1.1.1.2 root 48: #endif 1.1 root 49: 1.1.1.3 ! root 50: 1.1 root 51: #ifndef _TIME_T_DEFINED 52: typedef long time_t; 53: #define _TIME_T_DEFINED 54: #endif 55: 56: /* structure returned by _ftime system call */ 57: 58: #ifndef _TIMEB_DEFINED 59: struct _timeb { 60: time_t time; 61: unsigned short millitm; 1.1.1.2 root 62: short tmzone; /* NOTE NAME CHANGE!! */ 1.1 root 63: short dstflag; 64: }; 65: 66: #if !__STDC__ 67: /* Non-ANSI name for compatibility */ 68: #define timeb _timeb 69: #endif 70: 71: #define _TIMEB_DEFINED 72: #endif 73: 74: 75: /* function prototypes */ 76: 1.1.1.3 ! root 77: void _CRTAPI1 _ftime(struct _timeb *); 1.1 root 78: 79: #if !__STDC__ 80: /* Non-ANSI name for compatibility */ 81: #define ftime _ftime 82: #endif 83: 84: #ifdef __cplusplus 85: } 86: #endif 87: 88: #define _INC_TIMEB 89: #endif /* _INC_TIMEB */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.