Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
374 B

  1. # NOTE: Derived from ..\..\lib\POSIX.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package POSIX;
  5. #line 128 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto\POSIX\creat.al)"
  6. sub creat {
  7. usage "creat(filename, mode)" if @_ != 2;
  8. &open($_[0], &O_WRONLY | &O_CREAT | &O_TRUNC, $_[1]);
  9. }
  10. # end of POSIX::creat
  11. 1;