source: branches/libc-0.6/testcase/625main.c@ 2457

Last change on this file since 2457 was 1334, checked in by bird, 22 years ago

another timezone.

  • Property cvs2svn:cvs-rev set to 1.5
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 7.3 KB
Line 
1/* $Id: 625main.c 1334 2004-04-05 19:45:58Z bird $
2 *
3 * TZ (tzset++) testcase.
4 *
5 * InnoTek Systemberatung GmbH confidential
6 *
7 * Copyright (c) 2003 InnoTek Systemberatung GmbH
8 * Author: knut st. osmundsen <[email protected]>
9 *
10 * All Rights Reserved
11 *
12 */
13#include <time.h>
14#include <stdio.h>
15#include <stdlib.h>
16#include <string.h>
17
18static struct times
19{
20 time_t time;
21} aTimes[7] =
22{
23 0, /* 1970-01-01 00:00:00 */
24 13046400, /* 1970-06-01 00:00:00 */
25 -(10*365+3-31-29)*24*3600 - 12*3600, /* 1960-03-01 12:00:00 */