mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
0.8.13.22:
Been a while since I've done this... ... add forgotten waitpid-macros.c file from previous commit
This commit is contained in:
parent
14a1a09073
commit
8b3e66baac
29
contrib/sb-posix/alien/waitpid-macros.c
Normal file
29
contrib/sb-posix/alien/waitpid-macros.c
Normal file
|
|
@ -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... */
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue