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