Bsd :: stat

Stat () con extensiones BSD 4.4
Descargar ahora

Bsd :: stat Clasificación y resumen

Anuncio publicitario

  • Rating:
  • Licencia:
  • Perl Artistic License
  • Precio:
  • FREE
  • Nombre del editor:
  • Dan Kogai
  • Sitio web del editor:
  • http://search.cpan.org/~oyama/Crypt-Camellia-2.01/lib/Crypt/Camellia.pm

Bsd :: stat Etiquetas


Bsd :: stat Descripción

Stat () con extensiones BSD 4.4 BSD :: STAT es un módulo PERL que las exportaciones predeterminadas anulan las funciones de STAT () y LSTAT () Core, reemplazándolos con versiones que contienen extensiones BSD 4.4, como banderas de archivos. Este módulo también agrega la función CHFLAGS.SYNOPSIS Use BSD :: STAT; # Al igual que el núcleo :: stat ($ dev, $ ino, $ MODE, $ NLINK, $ UID, $ GID, $ RDEV, $ RDEV, $ TAMAÑO, $ DETIMIENTE, $ METEMENTE, $ CTIME, $ BLKSIZE, $ BLOCKS, $ ATIMENSEC, $ Mtimansec, $ ctimensec, $ banderas, $ gen) = estadística ($ nombre de archivo); # Bsd :: stat ahora acepta archivos, demasiado abiertos f, "foo"; mi @stat = stat (* f); # omite un argumento y usará $ _; My $ _ = "foo"; mi stat = stat; # stat ($ file) entonces -x _ funciona como núcleos :: stat (); Stat ("foo") y -x _ e imprimir "foo is ejecutable" # pero -x $ file, ¡no lo hará, ¡no lo hará !!! # simplemente como archivo :: stat $ st = stat ($ file) o muere "no $ Archivo: $!"; Si (($ st-> MODE y 0111) $ st-> nlink> 1)) {impresión "$ archivo es ejecutable con Lotsa Links \ N"; } Use BSD :: STAT QW (: Campos); Stat ($ File) o Muele "No $ Archivo: $!"; if (($ st_mode y 0111) $ st_nlink> 1)) {impresión "$ archivo es ejecutable con Lotsa Links \ N"; } # CHFLAGS CHFLAGS (UF_IMMUTEBLE, @Files) Requisitos: · Perl


Bsd :: stat Software relacionado