Mercurial > emacs
annotate src/vmstime.h @ 20587:eaf988c7e291
(make_pure_string): New arg length_byte.
Take account of size used by size_byte; store both sizes.
(Fpurecopy): Call make_pure_string the new way.
(compact_strings): Use size_byte field to compute string's size.
(make_uninit_multibyte_string): New function.
(make_uninit_string): Use make_uninit_multibyte_string.
(make_multibyte_string): New function.
(make_unibyte_string): New function.
(make_string): Compute number of chars from the data.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 05 Jan 1998 17:17:27 +0000 |
parents | ee40177f6c68 |
children |
rev | line source |
---|---|
2176 | 1 /* Interface to time support for VMS. |
2 Copyright (C) 1993 Free Software Foundation. | |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
8 the Free Software Foundation; either version 2, or (at your option) | |
9 any later version. | |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
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 | 20 |
2174 | 21 #ifndef vmstime_h |
22 #define vmstime_h | |
23 | |
24 #include <time.h> | |
25 #include <libdtdef.h> | |
26 | |
27 extern long timezone; | |
28 extern int daylight; | |
29 extern char *tzname[2]; | |
30 | |
31 void sys_tzset(); | |
32 struct tm *sys_localtime(time_t *clock); | |
33 struct tm *sys_gmtime(time_t *clock); | |
34 | |
35 #endif /* vmstime_h */ |