Last change
on this file since 4810254 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
390 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | time.c -- get the time of day in seconds since Jan 1, 1970
|
---|
| 4 | Version 1 -- 1987-03-23
|
---|
| 5 | =============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | long _time; /* system time of day */
|
---|
| 9 |
|
---|
| 10 | long
|
---|
| 11 | time(tloc)
|
---|
| 12 | long *tloc; {
|
---|
| 13 |
|
---|
| 14 | if (tloc)
|
---|
| 15 | *tloc = _time;
|
---|
| 16 |
|
---|
| 17 | return (_time);
|
---|
| 18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.