Category : C Source Code
Archive   : BSRC_140.ZIP
Filename : TIMER.H

 
Output of file : TIMER.H contained in archive : BSRC_140.ZIP
/*--------------------------------------------------------------------------*/
/* */
/* */
/* ------------ Bit-Bucket Software */
/* \ 10001101 / Writers and Distributors of */
/* \ 011110 / No-Cost Software. */
/* \ 1011 / */
/* ------ KopyRong (K) 1987. ALL RIGHTS REVERSED. */
/* */
/* */
/* */
/* */
/* This software package is being distributed WITH FULL SOURCE CODE */
/* with the following conditions: 1) If anything awful happens */
/* because you use it (or don't use it), you accept full */
/* responsibility; 2) you don't start making tons of voice calls to */
/* the authors to complain or make suggestions about enhancements, */
/* useful or otherwise; 3) you do not reuse this code in commercial */
/* products without specific permission to do so from the authors; */
/* 4) If you find any problems you send fixes to the authors for */
/* inclusion in updates; 5) You find some way to express your */
/* appreciation for this method of distribution, either by writing */
/* code or application notes, or just sending along a "Thank You" */
/* message. */
/* */
/* There is copyrighted code in this product. We either wrote it */
/* ourselves or got permission to use it. Please don't force us to */
/* pay a lawyer -- have some respect for our motives and don't abuse */
/* this "license". */
/* */
/* */
/*--------------------------------------------------------------------------*/


/*
$Header$
*/

/*
$Source$

This file contains header information for the timer routines.
*/


/*
* $Log$
*/


/* This union holds a long integer as a long, 2 ints or 4 chars */

typedef union
{
long l;
struct
{
unsigned char c[4];
} c;
struct
{
unsigned int i[2];
} i;
} TIMETYPE;


#define PER_WEEK 60480000L
#define PER_DAY 8640000L
#define PER_HOUR 360000L
#define PER_MINUTE 6000L
#define PER_SECOND 100L



  3 Responses to “Category : C Source Code
Archive   : BSRC_140.ZIP
Filename : TIMER.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/