home *** CD-ROM | disk | FTP | other *** search
- /* requires previous inclusion of include:exec/io.g */
- type
- timeval_t = struct {
- ulong tv_secs, tv_micro;
- },
-
- timerequest_t = struct {
- IORequest_t tr_node;
- timeval_t tr_time;
- };
-
- uint
- UNIT_MICROHZ = 0,
- UINT_VBLANK = 1;
-
- *char TIMERNAME = "timer.device";
-
- uint
- TR_ADDREQUEST = CMD_NONSTD,
- TR_GETSYSTIME = CMD_NONSTD+1,
- TR_SETSYSTIME = CMD_NONSTD+1;
-
- extern
- AddTime(*timeval_t dest, source)void,
- CmpTime(*timeval_t dest, source)int,
- SubTime(*timeval_t dest, source)void;
-