1 /* 2 * Copyright (c) 1983, 1987 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)time.h 1.2 (Berkeley) 03/04/87 7 */ 8 9 /* 10 * Structure returned by gmtime and localtime calls (see ctime(3)). 11 */ 12 struct tm { 13 int tm_sec; 14 int tm_min; 15 int tm_hour; 16 int tm_mday; 17 int tm_mon; 18 int tm_year; 19 int tm_wday; 20 int tm_yday; 21 int tm_isdst; 22 long tm_gmtoff; 23 char *tm_zone; 24 }; 25 26 extern struct tm *gmtime(), *localtime(); 27 extern char *asctime(), *ctime(); 28