2025-04-27 07:49:33 -04:00

14 lines
367 B
Perl

# NOTE: Derived from ..\..\lib\POSIX.pm.
# Changes made here will be lost when autosplit again.
# See AutoSplit.pm.
package POSIX;
#line 297 "..\..\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;