summaryrefslogtreecommitdiff
path: root/lib/auto/POSIX/creat.al
blob: 74656e7dd0a65ff80318ee41a2620d9a369de177 (plain)
1
2
3
4
5
6
7
8
9
# NOTE:  Derived from POSIX.pm.  Changes made here will be lost.
package POSIX;

sub creat {
    usage "creat(filename, mode)", caller if @_ != 2;
    &open($_[0], &O_WRONLY | &O_CREAT | &O_TRUNC, $_[2]);
}

1;