summaryrefslogtreecommitdiff
path: root/src/lib/libast/features/wait
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libast/features/wait')
-rw-r--r--src/lib/libast/features/wait9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/libast/features/wait b/src/lib/libast/features/wait
new file mode 100644
index 0000000..74c8c81
--- /dev/null
+++ b/src/lib/libast/features/wait
@@ -0,0 +1,9 @@
+lib wait,wait2,wait3,wait4,waitpid
+tst ok_wif sys/types.h sys/wait.h note{ posix wait macros ok }end compile{
+ int ifexited = WIFEXITED(0);
+ int exitstatus = WEXITSTATUS(0);
+ int ifsignaled = WIFSIGNALED(0);
+ int termsig = WTERMSIG(0);
+ int ifstopped = WIFSTOPPED(0);
+ int stopsig = WSTOPSIG(0);
+}end