xref: /csrg-svn/include/time.h (revision 30583)
1*30583Sbostic /*
2*30583Sbostic  * Copyright (c) 1983, 1987 Regents of the University of California.
3*30583Sbostic  * All rights reserved.  The Berkeley software License Agreement
4*30583Sbostic  * specifies the terms and conditions for redistribution.
5*30583Sbostic  *
6*30583Sbostic  *	@(#)time.h	1.2 (Berkeley) 03/04/87
7*30583Sbostic  */
818330Smckusick 
918330Smckusick /*
1018330Smckusick  * Structure returned by gmtime and localtime calls (see ctime(3)).
1118330Smckusick  */
1218330Smckusick struct tm {
1318330Smckusick 	int	tm_sec;
1418330Smckusick 	int	tm_min;
1518330Smckusick 	int	tm_hour;
1618330Smckusick 	int	tm_mday;
1718330Smckusick 	int	tm_mon;
1818330Smckusick 	int	tm_year;
1918330Smckusick 	int	tm_wday;
2018330Smckusick 	int	tm_yday;
2118330Smckusick 	int	tm_isdst;
22*30583Sbostic 	long	tm_gmtoff;
23*30583Sbostic 	char	*tm_zone;
2418330Smckusick };
2518330Smckusick 
2618330Smckusick extern	struct tm *gmtime(), *localtime();
2718330Smckusick extern	char *asctime(), *ctime();
28