0.8.13.22:
authorChristophe Rhodes <csr21@cam.ac.uk>
Wed, 4 Aug 2004 11:45:19 +0000 (11:45 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Wed, 4 Aug 2004 11:45:19 +0000 (11:45 +0000)
Been a while since I've done this...
... add forgotten waitpid-macros.c file from previous commit

contrib/sb-posix/alien/waitpid-macros.c [new file with mode: 0644]
version.lisp-expr

diff --git a/contrib/sb-posix/alien/waitpid-macros.c b/contrib/sb-posix/alien/waitpid-macros.c
new file mode 100644 (file)
index 0000000..10eee01
--- /dev/null
@@ -0,0 +1,29 @@
+#include <sys/types.h>
+#include <sys/wait.h>
+
+int wifexited(int status) {
+    return WIFEXITED(status);
+}
+
+int wexitstatus(int status) {
+    return WEXITSTATUS(status);
+}
+
+int wifsignaled(int status) {
+    return WIFSIGNALED(status);
+}
+
+int wtermsig(int status) {
+    return WTERMSIG(status);
+}
+
+int wifstopped(int status) {
+    return WIFSTOPPED(status);
+}
+
+int wstopsig(int status) {
+    return WSTOPSIG(status);
+}
+
+/* FIXME: POSIX also defines WIFCONTINUED, but that appears not to
+   exist on at least Linux... */
index f6c9655..e815118 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.13.22"
+"0.8.13.23"