summaryrefslogtreecommitdiff
path: root/lib/auto/POSIX/wait.al
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auto/POSIX/wait.al')
-rw-r--r--lib/auto/POSIX/wait.al11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/auto/POSIX/wait.al b/lib/auto/POSIX/wait.al
new file mode 100644
index 0000000000..489b1e3b07
--- /dev/null
+++ b/lib/auto/POSIX/wait.al
@@ -0,0 +1,11 @@
+# NOTE: Derived from POSIX.pm. Changes made here will be lost.
+package POSIX;
+
+sub wait {
+ usage "wait(statusvariable)", caller if @_ != 1;
+ local $result = wait();
+ $_[0] = $?;
+ $result;
+}
+
+1;