Mercurial > emacs
annotate src/s/irix4-0.h @ 19860:c17fd465ea95 libc-970911 libc-970912 libc-970913 libc-970914 libc-970915 libc-970916 libc-970917 libc-970918 libc-970919 libc-970920 libc-970921 libc-970922 libc-970923 libc-970924 libc-970925 libc-970926 libc-970927 libc-970928 libc-970929 libc-970930 libc-971001 libc-971018 libc-971019 libc-971020 libc-971021 libc-971022 libc-971023 libc-971024 libc-971025 libc-971026 libc-971027 libc-971028 libc-971029 libc-971030 libc-971031 libc-971101 libc-971102 libc-971103 libc-971104 libc-971105 libc-971106 libc-971107 libc-971108 libc-971109 libc-971110 libc-971111 libc-971112 libc-971113 libc-971114 libc-971115 libc-971116 libc-971117 libc-971118 libc-971120 libc-971121 libc-971122 libc-971123 libc-971124 libc-971125 libc-971126 libc-971127 libc-971128 libc-971129 libc-971130 libc-971201 libc-971203 libc-971204 libc-971205 libc-971206 libc-971207 libc-971208 libc-971209 libc-971210 libc-971211 libc-971212 libc-971213 libc-971214 libc-971217 libc-971218 libc-971219 libc-971220 libc-971221 libc-971222 libc-971223 libc-971224 libc-971225 libc-971226 libc-971227 libc-971228 libc-971229 libc-971230 libc-971231 libc-980103 libc-980104 libc-980105 libc-980106 libc-980107 libc-980108 libc-980109 libc-980110 libc-980111 libc-980112 libc-980114 libc-980115 libc-980116 libc-980117 libc-980118 libc-980119 libc-980120 libc-980121 libc-980122 libc-980123 libc-980124 libc-980125 libc-980126 libc-980127 libc-980128
typos.
author | Jeff Law <law@redhat.com> |
---|---|
date | Wed, 10 Sep 1997 21:16:20 +0000 |
parents | 7b452f99a32f |
children | b250f3dae8d9 |
rev | line source |
---|---|
1493 | 1 #include "irix3-3.h" |
2 | |
3 #define USG5_3 | |
3305 | 4 #define IRIX4 |
18759
7b452f99a32f
(XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents:
18702
diff
changeset
|
5 /* XPointer is not defined in the older X headers -- JPff@maths.bath.ac.uk */ |
7b452f99a32f
(XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents:
18702
diff
changeset
|
6 #define XPointer caddr_t |
1493 | 7 |
8 #define HAVE_ALLOCA | |
3098
6aee2746a385
(C_ALLOCA, alloca): Definitions deleted.
Richard M. Stallman <rms@gnu.org>
parents:
3026
diff
changeset
|
9 #ifndef NOT_C_CODE |
6aee2746a385
(C_ALLOCA, alloca): Definitions deleted.
Richard M. Stallman <rms@gnu.org>
parents:
3026
diff
changeset
|
10 #include <alloca.h> |
6aee2746a385
(C_ALLOCA, alloca): Definitions deleted.
Richard M. Stallman <rms@gnu.org>
parents:
3026
diff
changeset
|
11 #endif |
6aee2746a385
(C_ALLOCA, alloca): Definitions deleted.
Richard M. Stallman <rms@gnu.org>
parents:
3026
diff
changeset
|
12 |
6aee2746a385
(C_ALLOCA, alloca): Definitions deleted.
Richard M. Stallman <rms@gnu.org>
parents:
3026
diff
changeset
|
13 #undef NEED_SIOCTL |
1493 | 14 |
10077
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8892
diff
changeset
|
15 /* Include unistd.h, even though we don't define POSIX. */ |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8892
diff
changeset
|
16 #define NEED_UNISTD_H |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8892
diff
changeset
|
17 |
3111
864024ebf526
(SIGNALS_VIA_CHARACTERS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3098
diff
changeset
|
18 /* Make process_send_signal work by "typing" a signal character on the pty. */ |
864024ebf526
(SIGNALS_VIA_CHARACTERS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3098
diff
changeset
|
19 #define SIGNALS_VIA_CHARACTERS |
864024ebf526
(SIGNALS_VIA_CHARACTERS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3098
diff
changeset
|
20 |
18702
df65a2e6eb4e
(C_SWITCH_SYSTEM): Add -Wf,-XNh option.
Richard M. Stallman <rms@gnu.org>
parents:
10077
diff
changeset
|
21 #ifndef __GNUC__ |
1493 | 22 /* use K&R C */ |
18702
df65a2e6eb4e
(C_SWITCH_SYSTEM): Add -Wf,-XNh option.
Richard M. Stallman <rms@gnu.org>
parents:
10077
diff
changeset
|
23 /* We need to increase the expression tree space with -Wf,-XNh |
df65a2e6eb4e
(C_SWITCH_SYSTEM): Add -Wf,-XNh option.
Richard M. Stallman <rms@gnu.org>
parents:
10077
diff
changeset
|
24 (ghazi@caip.rutgers.edu 7/8/97.) |
df65a2e6eb4e
(C_SWITCH_SYSTEM): Add -Wf,-XNh option.
Richard M. Stallman <rms@gnu.org>
parents:
10077
diff
changeset
|
25 */ |
df65a2e6eb4e
(C_SWITCH_SYSTEM): Add -Wf,-XNh option.
Richard M. Stallman <rms@gnu.org>
parents:
10077
diff
changeset
|
26 #define C_SWITCH_SYSTEM -cckr -Wf,-XNh3000 |
1856
c4768d9b6a2f
(C_SWITCH_MACHINE): Don't define if GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1493
diff
changeset
|
27 #endif |
1493 | 28 |
29 /* SGI has all the fancy wait stuff, but we can't include sys/wait.h | |
30 because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead | |
31 we'll just define WNOHANG right here. | |
32 (An implicit decl is good enough for wait3.) */ | |
33 | |
34 #define WNOHANG 0x1 | |
35 | |
36 /* No need to use sprintf to get the tty name--we get that from _getpty. */ | |
2992
8c74c4712164
Changes for SGI from Matthew J Brown <mjb@doc.ic.ac.uk>.
Jim Blandy <jimb@redhat.com>
parents:
2223
diff
changeset
|
37 #undef PTY_TTY_NAME_SPRINTF |
1493 | 38 #define PTY_TTY_NAME_SPRINTF |
39 /* No need to get the pty name at all. */ | |
40 #define PTY_NAME_SPRINTF | |
41 /* We need only try once to open a pty. */ | |
42 #define PTY_ITERATION | |
43 /* Here is how to do it. */ | |
44 /* It is necessary to prevent SIGCHLD signals within _getpty. | |
45 So we block them. */ | |
46 #define PTY_OPEN \ | |
47 { \ | |
48 int mask = sigblock (sigmask (SIGCHLD)); \ | |
49 char *name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \ | |
50 sigsetmask(mask); \ | |
51 if (name == 0) \ | |
52 return -1; \ | |
53 if (fd < 0) \ | |
54 return -1; \ | |
55 if (fstat (fd, &stb) < 0) \ | |
56 return -1; \ | |
57 strcpy (pty_name, name); \ | |
58 } | |
3026 | 59 |
60 /* jpff@maths.bath.ac.uk reports `struct exception' is not defined | |
61 on this system, so inhibit use of matherr. */ | |
62 #define NO_MATHERR |