source: buchla-68k/orig/DATE/TIME.H@ 9bf0f86

Last change on this file since 9bf0f86 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago

Imported original source code.

  • Property mode set to 100755
File size: 867 bytes
RevLine 
[3ae31e9]1/*
2 =============================================================================
3 time.h -- header for the time package
4 Version 2 -- 1989-01-13 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
8struct tm { /* time structure */
9
10 int tm_sec; /* seconds (0-59) */
11 int tm_min; /* minutes (0-59) */
12 int tm_hour; /* hours (0-23) */
13 int tm_mday; /* day of month (1-31) */
14 int tm_mon; /* month (0-11, Jan is 0) */
15 int tm_year; /* year-1900 */
16 int tm_wday; /* weekday (0-6, Sun is 0) */
17 int tm_yday; /* day of the year */
18 int tm_isdst; /* daylight savings flag */
19};
20
21extern struct tm *gmtime();
22extern struct tm *localtime();
23extern char *asctime();
24extern char *ctime();
25extern int tzset();
26
27extern long timezone;
28extern int daylight;
29extern char *tzname[];
Note: See TracBrowser for help on using the repository browser.