aboutsummaryrefslogtreecommitdiffstats
path: root/src/syswait.h
diff options
context:
space:
mode:
authorEli Zaretskii2013-03-28 20:13:59 +0200
committerEli Zaretskii2013-03-28 20:13:59 +0200
commitd76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e (patch)
tree04fa8bc7bd2058a316a7ee30f8741d25bfd0b060 /src/syswait.h
parent2ef26ceb192c7683754cf0b4aa3087f501254332 (diff)
parente74aeda863cd6896e06e92586f87b45d63d67d15 (diff)
downloademacs-d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e.tar.gz
emacs-d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e.zip
Merge from trunk and resolve conflicts.
Diffstat (limited to 'src/syswait.h')
-rw-r--r--src/syswait.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/syswait.h b/src/syswait.h
index aa4c4bcf527..03e5cb5fe2e 100644
--- a/src/syswait.h
+++ b/src/syswait.h
@@ -1,5 +1,5 @@
1/* Define wait system call interface for Emacs. 1/* Define wait system call interface for Emacs.
2 Copyright (C) 1993-1995, 2000-2012 Free Software Foundation, Inc. 2 Copyright (C) 1993-1995, 2000-2013 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -23,6 +23,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23#ifndef EMACS_SYSWAIT_H 23#ifndef EMACS_SYSWAIT_H
24#define EMACS_SYSWAIT_H 24#define EMACS_SYSWAIT_H
25 25
26#include <stdbool.h>
26#include <sys/types.h> 27#include <sys/types.h>
27 28
28#ifdef HAVE_SYS_WAIT_H /* We have sys/wait.h with POSIXoid definitions. */ 29#ifdef HAVE_SYS_WAIT_H /* We have sys/wait.h with POSIXoid definitions. */
@@ -52,10 +53,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
52#endif 53#endif
53 54
54/* Defined in process.c. */ 55/* Defined in process.c. */
55extern void record_child_status_change (pid_t, int); 56extern void record_deleted_pid (pid_t);
56 57
57/* Defined in sysdep.c. */ 58/* Defined in sysdep.c. */
58extern void wait_for_termination (pid_t); 59extern void wait_for_termination (pid_t, int *, bool);
59extern void interruptible_wait_for_termination (pid_t); 60extern pid_t child_status_changed (pid_t, int *, int);
60 61
61#endif /* EMACS_SYSWAIT_H */ 62#endif /* EMACS_SYSWAIT_H */