summaryrefslogtreecommitdiff
path: root/lib/auto/POSIX/fputs.al
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auto/POSIX/fputs.al')
-rw-r--r--lib/auto/POSIX/fputs.al11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/auto/POSIX/fputs.al b/lib/auto/POSIX/fputs.al
new file mode 100644
index 0000000000..208eea6ba9
--- /dev/null
+++ b/lib/auto/POSIX/fputs.al
@@ -0,0 +1,11 @@
+# NOTE: Derived from POSIX.pm. Changes made here will be lost.
+package POSIX;
+
+sub fputs {
+ unimpl "fputs() is C-specific--use print instead", caller;
+ usage "fputs(string, handle)", caller if @_ != 2;
+ local($handle) = pop;
+ print $handle @_;
+}
+
+1;