-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
tbuf.tm_hour = 6;
tbuf.tm_min = 14;
tbuf.tm_sec = 50;
+ tbuf.tm_isdst = -1;
doit:;
t = mktime(&tbuf);
if (t == (time_t) -1)
fputs (buffer, stdout);
strftime (buffer, SIZE, "The time is %I:%M %p.\n", loctime);
fputs (buffer, stdout);
+
+ loctime->tm_year = 72;
+ loctime->tm_mon = 8;
+ loctime->tm_mday = 12;
+ loctime->tm_hour = 20;
+ loctime->tm_min = 49;
+ loctime->tm_sec = 05;
+ curtime = mktime (loctime);
+ strftime (buffer, SIZE, "%D %T was %w the %jth.\n", loctime);
+ fputs (buffer, stdout);
}
- exit(lose ? EXIT_FAILURE : EXIT_SUCCESS);
+ return (lose ? EXIT_FAILURE : EXIT_SUCCESS);
}