changed Kernel.Mod from Kernel0.Mod -- antranigv

This commit is contained in:
Antranig Vartanian 2015-12-12 21:03:26 +04:00
parent 90ef9158d4
commit 47d97361f6

View file

@ -7,9 +7,27 @@ MODULE Kernel;
IMPORT SYSTEM, Unix, Args; IMPORT SYSTEM, Unix, Args;
TYPE TYPE
(* from time.h on OpenBSD; added yday; changed gmtoff, zone order;
sec to isdst changed to INTEGER; -- antranigv
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
long tm_gmtoff;
char *tm_zone;
}; *)
RealTime = POINTER TO TimeDesc; RealTime = POINTER TO TimeDesc;
TimeDesc = RECORD TimeDesc = RECORD
sec, min, hour, mday, mon, year, wday, isdst, zone, gmtoff: LONGINT sec, min, hour, mday, mon, year, wday, yday, isdst : INTEGER;
gmtoff, zone : LONGINT
(* sec, min, hour, mday, mon, year, wday, isdst, zone, gmtoff: INTEGER*)
END ; END ;
KeyCmd* = PROCEDURE; KeyCmd* = PROCEDURE;