diff options
| author | 2024-04-25 21:24:10 +0100 | |
|---|---|---|
| committer | 2024-04-25 22:32:27 +0000 | |
| commit | 2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch) | |
| tree | 80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/TOOLS/BLD/INC/SYS/TIMEB.H | |
| parent | Merge pull request #430 from jpbaltazar/typoptbr (diff) | |
| download | ms-dos-main.tar.gz ms-dos-main.tar.xz ms-dos-main.zip | |
Diffstat (limited to 'v4.0/src/TOOLS/BLD/INC/SYS/TIMEB.H')
| -rw-r--r-- | v4.0/src/TOOLS/BLD/INC/SYS/TIMEB.H | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/v4.0/src/TOOLS/BLD/INC/SYS/TIMEB.H b/v4.0/src/TOOLS/BLD/INC/SYS/TIMEB.H new file mode 100644 index 0000000..46bf4ac --- /dev/null +++ b/v4.0/src/TOOLS/BLD/INC/SYS/TIMEB.H | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /*** | ||
| 2 | *sys\timeb.h - definition/declarations for ftime() | ||
| 3 | * | ||
| 4 | * Copyright (c) 1985-1988, 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 | |||
| 13 | #ifndef NO_EXT_KEYS /* extensions enabled */ | ||
| 14 | #define CDECL cdecl | ||
| 15 | #else /* extensions not enabled */ | ||
| 16 | #define CDECL | ||
| 17 | #endif /* NO_EXT_KEYS */ | ||
| 18 | |||
| 19 | #ifndef _TIME_T_DEFINED | ||
| 20 | typedef long time_t; | ||
| 21 | #define _TIME_T_DEFINED | ||
| 22 | #endif | ||
| 23 | |||
| 24 | /* structure returned by ftime system call */ | ||
| 25 | |||
| 26 | #ifndef _TIMEB_DEFINED | ||
| 27 | struct timeb { | ||
| 28 | time_t time; | ||
| 29 | unsigned short millitm; | ||
| 30 | short timezone; | ||
| 31 | short dstflag; | ||
| 32 | }; | ||
| 33 | #define _TIMEB_DEFINED | ||
| 34 | #endif | ||
| 35 | |||
| 36 | |||
| 37 | /* function prototypes */ | ||
| 38 | |||
| 39 | void CDECL ftime(struct timeb *); | ||