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

1.1       root        1: /***
                      2: *sys\timeb.h - definition/declarations for _ftime()
                      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: *
                     10: *******************************************************************************/
                     11: 
                     12: #ifndef _INC_TIMEB
                     13: 
                     14: #ifdef __cplusplus
                     15: extern "C" {
                     16: #endif
                     17: 
                     18: 
1.1.1.2 ! root       19: #ifndef MIPS
1.1       root       20: #if (_MSC_VER <= 600)
                     21: #define __cdecl _cdecl
                     22: #endif
1.1.1.2 ! root       23: #endif
1.1       root       24: 
                     25: #ifndef _TIME_T_DEFINED
                     26: typedef long time_t;
                     27: #define _TIME_T_DEFINED
                     28: #endif
                     29: 
                     30: /* structure returned by _ftime system call */
                     31: 
                     32: #ifndef _TIMEB_DEFINED
                     33: struct _timeb {
                     34:        time_t time;
                     35:        unsigned short millitm;
1.1.1.2 ! root       36:        short tmzone;               /* NOTE NAME CHANGE!! */
1.1       root       37:        short dstflag;
                     38:        };
                     39: 
                     40: #if !__STDC__
                     41: /* Non-ANSI name for compatibility */
                     42: #define timeb _timeb
                     43: #endif
                     44: 
                     45: #define _TIMEB_DEFINED
                     46: #endif
                     47: 
                     48: 
                     49: /* function prototypes */
                     50: 
                     51: void _ftime(struct _timeb *);
                     52: 
                     53: #if !__STDC__
                     54: /* Non-ANSI name for compatibility */
                     55: #define ftime   _ftime
                     56: #endif
                     57: 
                     58: #ifdef __cplusplus
                     59: }
                     60: #endif
                     61: 
                     62: #define _INC_TIMEB
                     63: #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.