Mercurial > hg > xemacs-beta
comparison src/sysproc.h @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | c33ae14dd6d0 |
children | 2b6fa2618f76 |
comparison
equal
deleted
inserted
replaced
770:336a418893b5 | 771:943eaba38521 |
---|---|
1 /* | 1 /* |
2 Copyright (C) 1995 Free Software Foundation, Inc. | 2 Copyright (C) 1995 Free Software Foundation, Inc. |
3 Copyright (C) 2000 Ben Wing. | |
3 | 4 |
4 This file is part of XEmacs. | 5 This file is part of XEmacs. |
5 | 6 |
6 XEmacs is free software; you can redistribute it and/or modify it | 7 XEmacs is free software; you can redistribute it and/or modify it |
7 under the terms of the GNU General Public License as published by the | 8 under the terms of the GNU General Public License as published by the |
21 /* Synched up with: Not really in FSF. */ | 22 /* Synched up with: Not really in FSF. */ |
22 | 23 |
23 #ifndef INCLUDED_sysproc_h_ | 24 #ifndef INCLUDED_sysproc_h_ |
24 #define INCLUDED_sysproc_h_ | 25 #define INCLUDED_sysproc_h_ |
25 | 26 |
26 #ifdef HAVE_VFORK_H | |
27 # include <vfork.h> | |
28 #endif | |
29 | |
30 #include "systime.h" /* necessary for sys/resource.h; also gets the | 27 #include "systime.h" /* necessary for sys/resource.h; also gets the |
31 FD_* defines on some systems. */ | 28 FD_* defines on some systems. */ |
32 #ifndef WIN32_NATIVE | 29 #ifndef WIN32_NATIVE |
33 #include <sys/resource.h> | 30 #include <sys/resource.h> |
34 #endif | 31 #endif |
35 | 32 |
36 #if !defined (NO_SUBPROCESSES) | 33 #if !defined (NO_SUBPROCESSES) |
34 | |
35 #ifdef MINGW | |
36 #include <../mingw/process.h> | |
37 #elif defined (CYGWIN) | |
38 #include <../include/process.h> | |
39 #elif defined (WIN32_NATIVE) | |
40 /* <process.h> should not conflict with "process.h", as per ANSI definition. | |
41 This is not true with visual c though. The trick below works with | |
42 VC4.2b, 5.0 and 6.0. It assumes that VC is installed in a kind of | |
43 standard way, so include path ends with /include. | |
44 NOTE: We also include this same file in s/windowsnt.h, to avoid problems | |
45 because this file prototypes abort() and then lisp.h defines it as a | |
46 macro, which must happen after the prototype. DO NOT remove the include | |
47 here just because you "know" it's somewhere else as well. | |
48 */ | |
49 #include <../include/process.h> | |
50 #endif | |
37 | 51 |
38 #ifdef HAVE_SOCKETS /* TCP connection support, if kernel can do it */ | 52 #ifdef HAVE_SOCKETS /* TCP connection support, if kernel can do it */ |
39 # include <sys/types.h> /* AJK */ | 53 # include <sys/types.h> /* AJK */ |
40 # ifndef WIN32_NATIVE | 54 # ifndef WIN32_NATIVE |
41 # include <sys/socket.h> | 55 # include <sys/socket.h> |
162 # define FD_ZERO(p) (*(p) = 0) | 176 # define FD_ZERO(p) (*(p) = 0) |
163 | 177 |
164 #endif /* no FD_SET */ | 178 #endif /* no FD_SET */ |
165 | 179 |
166 int poll_fds_for_input (SELECT_TYPE mask); | 180 int poll_fds_for_input (SELECT_TYPE mask); |
181 int qxe_execve (const Intbyte *filename, Intbyte * const argv[], | |
182 Intbyte * const envp[]); | |
183 pid_t qxe_getpid (void); | |
167 | 184 |
168 #endif /* INCLUDED_sysproc_h_ */ | 185 #endif /* INCLUDED_sysproc_h_ */ |