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 — Consigue información sobre un enlace

Descripción

int linkinfo ( string $path )

linkinfo() da el campo st_dev de la extructura stat de UNIX C devuelto por la llamada al sistema lstat. Esta función se usa para verificar si un enlace (apuntado por path ) existe realmente (usando el mismo método que la macro S_ISLNK definida en stat.h). Devuelve 0 o FALSE en caso de error.

Example #1 Ejemplo delinkinfo()

<?php

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

?>

Note: Esta función no está implementada en plataformas Windows.

Ver también symlink(), link(), y 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 | sitemap | contact | advertising | mirror sites