BSD 4_3_Tahoe release
[unix-history] / usr / include / time.h
index 7eeb1e1..bf5e265 100644 (file)
@@ -1,4 +1,15 @@
-struct tm { /* see ctime(3) */
+/*
+ * Copyright (c) 1983, 1987 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)time.h      1.2 (Berkeley) 3/4/87
+ */
+
+/*
+ * Structure returned by gmtime and localtime calls (see ctime(3)).
+ */
+struct tm {
        int     tm_sec;
        int     tm_min;
        int     tm_hour;
        int     tm_sec;
        int     tm_min;
        int     tm_hour;
@@ -8,4 +19,9 @@ struct tm { /* see ctime(3) */
        int     tm_wday;
        int     tm_yday;
        int     tm_isdst;
        int     tm_wday;
        int     tm_yday;
        int     tm_isdst;
+       long    tm_gmtoff;
+       char    *tm_zone;
 };
 };
+
+extern struct tm *gmtime(), *localtime();
+extern char *asctime(), *ctime();