annotate src/dosfns.h @ 19703:9fa57c73882d

Include config.h and time.h. Declare extern data and functions. (file_data): Move definition from w32heap.c. (_start): Add debug hook for when profiling. Spoof executable name when using profilers. Invoke sbrk immediately when undumped. (unexec): Print error messages when input and output dump files cannot be opened. Reset header checksum. (open_input_file, open_output_file): Return status instead of aborting. (get_section_size): Handle different linkers. (find_section, rva_to_section): New functions. (get_section_info) [SEPARATE_BSS_SECTION]: Make code for using a separate .bss section conditional. Use my_begbss and my_endbss to determine .bss size by default. Look for Emacs data in EMDATA section.
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 03 Sep 1997 00:42:10 +0000
parents ee40177f6c68
children 0d4dec332d85
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5503
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* MS-DOS specific Lisp utilities interface.
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 Coded by Manabu Higashida, 1991.
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 Copyright (C) 1991 Free Software Foundation, Inc.
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 This file is part of GNU Emacs.
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 GNU Emacs is free software; you can redistribute it and/or modify
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
10504
8a1bd0598b49 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 9572
diff changeset
9 the Free Software Foundation; either version 2, or (at your option)
5503
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 any later version.
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 GNU General Public License for more details.
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 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: 13746
diff changeset
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 13746
diff changeset
20 Boston, MA 02111-1307, USA. */
5503
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21
13181
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
22 extern int dos_hyper_key;
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
23 extern int dos_super_key;
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
24 extern int dos_decimal_point;
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
25 extern int dos_keypad_mode;
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
26
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
27 extern int dos_keyboard_layout;
5503
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 extern int dos_country_code;
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 extern int dos_codepage;
13181
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
30 extern int dos_timezone_offset;
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
31
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
32 #define DOS_COUNTRY_INFO 34 /* no of bytes returned by dos int 38h */
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
33 extern unsigned char dos_country_info[DOS_COUNTRY_INFO];
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
34
5503
003e84b91d21 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 extern Lisp_Object Vdos_version;
9572
b36d5e88cccc *** empty log message ***
Morten Welinder <terra@diku.dk>
parents: 5503
diff changeset
36 #ifndef HAVE_X_WINDOWS
13181
fc4f18921b24 (dos_timezone_offset, dos_display_scancodes,
Kim F. Storm <storm@cua.dk>
parents: 10504
diff changeset
37 extern Lisp_Object Vdos_display_scancodes;
9572
b36d5e88cccc *** empty log message ***
Morten Welinder <terra@diku.dk>
parents: 5503
diff changeset
38 extern Lisp_Object Qmsdos_color_translate;
b36d5e88cccc *** empty log message ***
Morten Welinder <terra@diku.dk>
parents: 5503
diff changeset
39 #endif