Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    
    ...
    BAD ../perl.exe text=0, executable=0
    OK  ../perl.exe executable=1, text=0
    OK  ../perl.exe text=0, executable=1
    
  2. or download this
      Perl_pp_stat() in pp_sys.c implements Perl stat()
        calls PerlLIONameStat()
    ...
              calls fstat(fd, sbuf)  // Win32 library call
                sbuf.st_mode == 0100666 octal, for perl.exe, BAD
    
  3. or download this
    // _stattest.cpp : compare MS implementation of functions stat() and f
    +stat()
    // rudif@bluemail.ch 1 Jul 2001
    ...
        }
    }
    
  4. or download this
      stat()      by _stat()
      fstat()     by _fstat()
      struct stat by struct _stat