Help for this page

Select Code to Download


  1. or download this
    # Win32:
    perl -e "print grep !/unknown error/i, map $_.qq'\t'.($!=$_).$/, 0..12
    +7"
    
    # Other:
    perl -e 'print grep !/unknown error/i, map $_."\t".($!=$_).$/, 0..127'
    
  2. or download this
    # Win32:
    perl -MErrno -e "my %e= map { Errno->$_()=>$_ } keys(%!); print grep !
    +/unknown error/i, map sprintf('%4d %-12s %s'.$/,$_,$e{$_},$!=$_), 0..
    +127"
    
    # Other:
    perl -MErrno -e 'my %e= map { Errno->$_()=>$_ } keys(%!); print grep !
    +/unknown error/i, map sprintf("%4d %-12s %s".$/,$_,$e{$_},$!=$_), 0..
    +127'
    
  3. or download this
       0
       1 EPERM        Operation not permitted
       2 ENOENT       No such file or directory
       3 ESRCH        No such process
       4 EINTR        Interrupted function call