PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

lstat> <link
Last updated: Fri, 11 Apr 2008

view this page in

linkinfo

(PHP 4, PHP 5)

linkinfo — Restituisce informazioni su un collegamento

Descrizione

int linkinfo ( string $path )

linkinfo() restituisce il st_dev campo della struttura stat dello Unix C restituita dalla chiamata di sistema lstat. Questa funzione è usata per verificare se un link (puntato da path ) esiste davvero (usando lo stesso metodo della macro S_ISLNK definita in stat.h). Restituisce 0 o FALSE in caso di errore.

Example #1 Esempio di uso di linkinfo()

<?php

echo linkinfo('/vmlinuz'); // 835

?>

Nota: Questa funzione non è implementata sulle piattaforme Windows.

Vedere anche symlink(), link() e readlink().



add a note add a note User Contributed Notes
linkinfo
There are no user contributed notes for this page.

lstat> <link
Last updated: Fri, 11 Apr 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites