annotate src/s/lynxos.h @ 38619:879c6b736b9f

(Finsert_file_contents): Don't treat a return value of 0 from emacs_read as an IO error.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 31 Jul 2001 14:40:50 +0000
parents 16fbddb97bd4
children ff9ec69df33d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29654
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1 /* Definitions file for GNU Emacs running on LynxOS-3.0.1
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
2 Copyright (C) 2000 Free Software Foundation, Inc.
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
3
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
9 any later version.
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
10
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
15
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
20
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
21 /* LynxOS is almost a bsd 4.2 system */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
22 #include "s/bsd4-2.h"
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
23
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
24 /* SYSTEM_TYPE should indicate the kind of system you are using.
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
25 It sets the Lisp variable system-type. */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
26
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
27 /* override the bsd definition */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
28 #undef SYSTEM_TYPE
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
29 #define SYSTEM_TYPE "lynxos 3.0.1"
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
30
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
31 /* System stuff redefined from bsd4-2.h */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
32 #undef KERNEL_FILE
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
33 #define KERNEL_FILE "/lynx.os"
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
34 #undef LDAV_SYMBOL
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
35 #define LDAV_SYMBOL "load_average"
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
36 /* LynxOS doesn't have vfork */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
37 #undef HAVE_VFORK
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
38
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
39 /* misc defines */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
40 #define GETPGRP_NO_ARG
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41 #define LNOFLSH 0
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
43 /* COFF related */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
44 #define COFF
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
45 #define NO_REMAP
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
46 #define SECTION_ALIGNMENT 0x1
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47 #define COFF_BSD_SYMBOLS
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
48 #define etext __etext
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
49 #define edata __edata
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
50 #define _start __text
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
51
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
52 /* Compilation options */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
53 #define LIBS_DEBUG
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
54 #define ORDINARY_LINK
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
55 /* we define following to prevent all the lynxos's stupid compilation */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56 /* warning messages */
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57 #define C_SWITCH_SYSTEM -D__NO_INCLUDE_WARN__
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58 #define LIBS_SYSTEM -lbsd