mirror of
https://github.com/php/doc-ru.git
synced 2025-08-16 18:22:04 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@172265 c90b9560-bf6c-de11-be94-00142212c4b1
65 lines
1.8 KiB
XML
65 lines
1.8 KiB
XML
<?xml version="1.0" encoding="windows-1251"?>
|
|
<!-- EN-Revision: 1.6 Maintainer: freespace Status: ready -->
|
|
<!-- $Revision: 1.1 $ -->
|
|
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
|
<refentry id="function.readlink">
|
|
<refnamediv>
|
|
<refname>readlink</refname>
|
|
<refpurpose>Âîçâðàùàåò ôàéë, íà êîòîðûé óêàçûâàåò ñèìâîëè÷åñêàÿ ññûëêà</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Îïèñàíèå</title>
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>readlink</methodname>
|
|
<methodparam><type>string</type><parameter>path</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>readlink</function> äåëàåò òî æå ñàìîå, ÷òî è ôóíêöèÿ C readlink
|
|
- âîçâðàùàåò ñîäåðæèìîå ïóòè ñèìâîëè÷åñêîé ññûëêè èëè &false; â ñëó÷àå
|
|
îøèáêè.
|
|
</para>
|
|
<para>
|
|
<example>
|
|
<title>Ïðèìåð èñïîëüçîâàíèÿ ôóíêöèè <function>readlink</function></title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
|
|
// output e.g. /boot/vmlinux-2.4.20-xfs
|
|
echo readlink('/vmlinuz');
|
|
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
¬e.no-windows;
|
|
<para>
|
|
Ñì. òàêæå îïèñàíèå ôóíêöèé <function>is_link</function>,
|
|
<function>symlink</function> è
|
|
<function>linkinfo</function>.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|