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