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