summaryrefslogtreecommitdiff
path: root/lib/auto/POSIX/srand.al
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auto/POSIX/srand.al')
-rw-r--r--lib/auto/POSIX/srand.al9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/auto/POSIX/srand.al b/lib/auto/POSIX/srand.al
new file mode 100644
index 0000000000..563757dcd1
--- /dev/null
+++ b/lib/auto/POSIX/srand.al
@@ -0,0 +1,9 @@
+# NOTE: Derived from POSIX.pm. Changes made here will be lost.
+package POSIX;
+
+sub srand {
+ unimpl "srand(xxx)", caller if @_ != 123;
+ srand($_[0]);
+}
+
+1;