summaryrefslogtreecommitdiffstats
path: root/private/crt32/h/timeb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'private/crt32/h/timeb.inc')
-rw-r--r--private/crt32/h/timeb.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/private/crt32/h/timeb.inc b/private/crt32/h/timeb.inc
new file mode 100644
index 000000000..1f36f85a1
--- /dev/null
+++ b/private/crt32/h/timeb.inc
@@ -0,0 +1,37 @@
+;***
+;timeb.inc - definition of the C Run-Time Library "timeb" structure
+;
+; Copyright (c) 1992-1993, Microsoft Corporation. All rights reserved.
+;
+;Purpose:
+; Analog of <sys/timeb.h> for assembler routines.
+;
+;Notes:
+; This file must reflect the structure "timeb" defined in <sys/timeb.h>
+; and is dependent on the alignment characteristics of the Intel 386;
+; namely, that words ("shorts") are aligned on even addresses and
+; dwords ("longs") are aligned on quad addresses.
+;
+; Important: MIPS follows the Intel 386 convention as well.
+;
+;Revision History:
+; 03-13-92 SKS Initial version
+; 06-08-93 SKS Cosmetic change - _tmzone becomes _timezone_
+; to match the corrected C source code naming.
+;
+;******************************************************************************
+
+;struct _timeb {
+; time_t time;
+; unsigned short millitm;
+; short tmzone;
+; short dstflag;
+; };
+
+_timeb STRUC
+ _time dd ?
+ _millitm dw ?
+ _timezone_ dw ?
+ _dstflag dw ?
+ __padding__ dw ? ; pad the structure out to
+_timeb ENDS ; an even number of DWORDs