diff options
Diffstat (limited to 'Master/perltl/lib/auto/POSIX/creat.al')
-rw-r--r-- | Master/perltl/lib/auto/POSIX/creat.al | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/perltl/lib/auto/POSIX/creat.al b/Master/perltl/lib/auto/POSIX/creat.al new file mode 100644 index 00000000000..4645b72ab0e --- /dev/null +++ b/Master/perltl/lib/auto/POSIX/creat.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 122 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto\POSIX\creat.al)" +sub creat { + usage "creat(filename, mode)" if @_ != 2; + &open($_[0], &O_WRONLY | &O_CREAT | &O_TRUNC, $_[1]); +} + +# end of POSIX::creat +1; |