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

1.1       root        1: /***
                      2: *sys\timeb.h - definition/declarations for _ftime()
                      3: *
                      4: *      Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved.
                      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: 
                     19: #if (_MSC_VER <= 600)
                     20: #define __cdecl _cdecl
                     21: #endif
                     22: 
                     23: #ifndef _TIME_T_DEFINED
                     24: typedef long time_t;
                     25: #define _TIME_T_DEFINED
                     26: #endif
                     27: 
                     28: /* structure returned by _ftime system call */
                     29: 
                     30: #ifndef _TIMEB_DEFINED
                     31: struct _timeb {
                     32:        time_t time;
                     33:        unsigned short millitm;
                     34:        short _timezone;
                     35:        short dstflag;
                     36:        };
                     37: 
                     38: /* must be same name as extern declared in time.h */
                     39: #define timezone _timezone
                     40: 
                     41: #if !__STDC__
                     42: /* Non-ANSI name for compatibility */
                     43: #define timeb _timeb
                     44: #endif
                     45: 
                     46: #define _TIMEB_DEFINED
                     47: #endif
                     48: 
                     49: 
                     50: /* function prototypes */
                     51: 
                     52: void _ftime(struct _timeb *);
                     53: 
                     54: #if !__STDC__
                     55: /* Non-ANSI name for compatibility */
                     56: #define ftime   _ftime
                     57: #endif
                     58: 
                     59: #ifdef __cplusplus
                     60: }
                     61: #endif
                     62: 
                     63: #define _INC_TIMEB
                     64: #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.