summaryrefslogtreecommitdiff
path: root/Master/perltl/lib/auto/POSIX/isatty.al
diff options
context:
space:
mode:
Diffstat (limited to 'Master/perltl/lib/auto/POSIX/isatty.al')
-rw-r--r--Master/perltl/lib/auto/POSIX/isatty.al13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/perltl/lib/auto/POSIX/isatty.al b/Master/perltl/lib/auto/POSIX/isatty.al
new file mode 100644
index 00000000000..aff49f6fa73
--- /dev/null
+++ b/Master/perltl/lib/auto/POSIX/isatty.al
@@ -0,0 +1,13 @@
+# NOTE: Derived from ..\..\lib\POSIX.pm.
+# Changes made here will be lost when autosplit is run again.
+# See AutoSplit.pm.
+package POSIX;
+
+#line 698 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto\POSIX\isatty.al)"
+sub isatty {
+ usage "isatty(filehandle)" if @_ != 1;
+ -t $_[0];
+}
+
+# end of POSIX::isatty
+1;