home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / lib / perl5 / 5.8.8 / i586-linux-thread-multi / auto / POSIX / creat.al < prev    next >
Text File  |  2006-11-29  |  343b  |  14 lines

  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.  
  6. #line 125 "lib/POSIX.pm (autosplit into lib/auto/POSIX/creat.al)"
  7. sub creat {
  8.     usage "creat(filename, mode)" if @_ != 2;
  9.     &open($_[0], &O_WRONLY | &O_CREAT | &O_TRUNC, $_[1]);
  10. }
  11.  
  12. # end of POSIX::creat
  13. 1;
  14.