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