annotate src/vmstime.h @ 22477:9bc88c123895 gcc-2_8_1-980627 gcc-2_8_1-980705 gcc-2_8_1-980718 libc-980614 libc-980615 libc-980616 libc-980617 libc-980618 libc-980619 libc-980620 libc-980621 libc-980622 libc-980623 libc-980624 libc-980625 libc-980626 libc-980627 libc-980628 libc-980629 libc-980630 libc-980701 libc-980702 libc-980703 libc-980704 libc-980705 libc-980706 libc-980707 libc-980708 libc-980709 libc-980710 libc-980711 libc-980712 libc-980713 libc-980714 libc-980715 libc-980716 libc-980717 libc-980718 libc-980719

(sun4H:SunOS:5.*:*): New case.
author Richard Kenner <kenner@gnu.org>
date Sat, 13 Jun 1998 19:51:10 +0000
parents ee40177f6c68
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2176
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
1 /* Interface to time support for VMS.
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
2 Copyright (C) 1993 Free Software Foundation.
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
3
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
4 This file is part of GNU Emacs.
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
5
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
7 it under the terms of the GNU General Public License as published by
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
9 any later version.
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
10
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
14 GNU General Public License for more details.
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
15
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
16 You should have received a copy of the GNU General Public License
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
14186
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 2176
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 2176
diff changeset
19 Boston, MA 02111-1307, USA. */
2176
2c7e0875f6d0 Add GNU copyright notice.
Jim Blandy <jimb@redhat.com>
parents: 2174
diff changeset
20
2174
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 #ifndef vmstime_h
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 #define vmstime_h
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 #include <time.h>
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 #include <libdtdef.h>
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 extern long timezone;
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 extern int daylight;
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 extern char *tzname[2];
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 void sys_tzset();
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 struct tm *sys_localtime(time_t *clock);
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 struct tm *sys_gmtime(time_t *clock);
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34
19cda372de6e Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35 #endif /* vmstime_h */