annotate src/s/bsd386.h @ 91019:57f4ffc03d13

(Fchar_or_string_p): Fix docstring.
author Kenichi Handa <handa@m17n.org>
date Fri, 07 Sep 2007 02:29:08 +0000
parents f55f9811f5d7
children 606f2d163a64
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
75942
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
1 /* s/ file for bsd386 system.
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
2
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
3 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
4 2007 Free Software Foundation, Inc.
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
5
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
6 This file is part of GNU Emacs.
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
7
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
8 GNU Emacs is free software; you can redistribute it and/or modify
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
9 it under the terms of the GNU General Public License as published by
78259
f06998349cfc Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75942
diff changeset
10 the Free Software Foundation; either version 3, or (at your option)
75942
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
11 any later version.
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
12
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
16 GNU General Public License for more details.
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
17
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
18 You should have received a copy of the GNU General Public License
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
19 along with GNU Emacs; see the file COPYING. If not, write to
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
21 Boston, MA 02110-1301, USA. */
c365fcdf7c2a Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
22
3360
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 #include "bsd4-3.h"
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
8777
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
26 #ifndef __bsdi__
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
27 #define __bsdi__ 1
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
28 #endif
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
29
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
30 #define DECLARE_GETPWUID_WITH_UID_T
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
31
3360
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 #define SIGNALS_VIA_CHARACTERS
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 #define LIBS_DEBUG
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 #define LIB_X11_LIB -L/usr/X11/lib -lX11
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 #define LIBS_SYSTEM -lutil -lkvm -lcompat
3361
ac036d67c431 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 3360
diff changeset
41
29771
953fdf4f10b3 (HAVE_GETLOADAVG): Define it as 1.
Kenichi Handa <handa@m17n.org>
parents: 28640
diff changeset
42 #define HAVE_GETLOADAVG 1
28640
7f198d98ac14 Revert HAVE_GETLOADAVG changes.
Dave Love <fx@gnu.org>
parents: 28593
diff changeset
43
5970
d6a5848451f3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5918
diff changeset
44 #undef BSD_PGRPS
7505
9553f0614817 (LOCALTIME_CACHE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 5970
diff changeset
45
7743
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
46 /* System uses OXTABS instead of the expected TAB3.
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
47 (Copied from netbsd.h.) */
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
48 #define TABDLY OXTABS
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
49 #define TAB3 OXTABS
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
50
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
51 #define SYSV_SYSTEM_DIR
7805
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
52
8984
5aa06240226f (HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 8777
diff changeset
53 #define HAVE_TERMIOS
5aa06240226f (HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 8777
diff changeset
54 #define NO_TERMIO
5aa06240226f (HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 8777
diff changeset
55
7805
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
56 #define WAITTYPE int
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
57 /* get this since it won't be included if WAITTYPE is defined */
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
58 #ifdef emacs
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
59 #include <sys/wait.h>
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
60 #endif
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
61 #define WRETCODE(w) WEXITSTATUS(w)
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
62 #ifndef WCOREDUMP
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
63 #define WCOREDUMP(w) ((w) & 0200)
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
64 #endif
8984
5aa06240226f (HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 8777
diff changeset
65
11724
32167f40a60a (GETPGRP_NO_ARG): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8984
diff changeset
66 #define GETPGRP_NO_ARG 1
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29771
diff changeset
67
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29771
diff changeset
68 /* arch-tag: 867e3bb8-e9df-4763-9c82-8f4accb8209e
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 29771
diff changeset
69 (do not change this comment) */