Category : C Source Code
Archive   : CSRC2.ZIP
Filename : TIMEB.H

 
Output of file : TIMEB.H contained in archive : CSRC2.ZIP
/*
* t i m e b . h
*/

#ifdef DOCUMENTATION

title timeb Define timeb buffer structure for ftime()
index Define timeb buffer structure for ftime()

synopsis

#include
...
extern long ftime();

description

This header file defines the structure of the timeb buffer used by
the standard library ftime() function. It is defined
as follows:
.s.nf
struct timeb {
long time;
unsigned milltim;
short timezone;
short dstflag;
};
.s.f
The time value is identical to the value returned by the
time() function. Milltim is the number of milliseconds
in the current second. Timezone indicates the number
of minutes past GMT in the current time zone (zero for
Decus C) and dstflag is set if Daylight Savings Time
is in effect.

#endif

/*
* )EDITLEVEL=01
* Edit history
* 0.0 28-Feb-82 MM Newly invented
*/

struct timeb {
long time; /* Seconds since Jan 1 1970 */
unsigned millitm; /* Milliseconds since time */
short timezone; /* Timezone (minutes after GMT) */
short dstflag; /* TRUE if daylight savings */
};


  3 Responses to “Category : C Source Code
Archive   : CSRC2.ZIP
Filename : TIMEB.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/