home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_11_01
/
1101014b
< prev
next >
Wrap
Text File
|
1992-11-09
|
264b
|
16 lines
/* time function -- UNIX version */
#include <time.h>
/* UNIX system call */
time_t _Time(time_t *);
time_t (time)(time_t *tod)
{ /* return calendar time */
time_t t = _Time(NULL) + (70*365LU+17)*86400;
if (tod)
*tod = t;
return (t);
}