cvs: phpdoc-pl /reference/filesystem/functions linkinfo.xml
| From: | Leszek Krupinski | Date: | Sun, 22 Feb 2004 02:05:04 +0000 |
| Subject: | cvs: phpdoc-pl /reference/filesystem/functions linkinfo.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-282@lists.php.net to get a copy of this message | ||
leszek Sat Feb 21 21:05:04 2004 EDT
Modified files:
/phpdoc-pl/reference/filesystem/functions linkinfo.xml
Log:
[adi] update to rev. 1.5
http://cvs.php.net/diff.php/phpdoc-pl/reference/filesystem/functions/linkinfo.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-pl/reference/filesystem/functions/linkinfo.xml
diff -u phpdoc-pl/reference/filesystem/functions/linkinfo.xml:1.2
phpdoc-pl/reference/filesystem/functions/linkinfo.xml:1.3
--- phpdoc-pl/reference/filesystem/functions/linkinfo.xml:1.2 Wed Apr 17 03:16:09 2002
+++ phpdoc-pl/reference/filesystem/functions/linkinfo.xml Sat Feb 21 21:05:04 2004
@@ -1,32 +1,43 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- splitted from ./pl/functions/filesystem.xml, last change in rev 1.1 -->
-<!-- last change to 'linkinfo' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.2 Maintainer: adi Status: partial -->
-<!-- OLD-Revision: 1.115/EN.1.2 -->
+<!-- EN-Revision: 1.5 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.linkinfo">
<refnamediv>
<refname>linkinfo</refname>
- <refpurpose>Gets information about a link</refpurpose>
+ <refpurpose>Pobiera informacje o linku</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>Opis</title>
<methodsynopsis>
<type>int</type><methodname>linkinfo</methodname>
-
<methodparam><type>string</type><parameter>path</parameter></methodparam>
+
<methodparam><type>string</type><parameter>¶cie¿ka</parameter></methodparam>
</methodsynopsis>
<para>
- <function>linkinfo</function> returns the st_dev field of the
- UNIX C stat structure returned by the lstat system call. This
- function is used to verify if a link (pointed to by
- <parameter>path</parameter>) really exists (using the same method
- as the S_ISLNK macro defined in stat.h). Returns 0 or &false; in
- case of error.
+ <function>linkinfo</function> zwraca pole st_dev o strukturze
+ unix'owej funkcji (jêzyka C) stat, pole zwracane jest poprzez wywo³anie systemowe
lstat.
+ Ta funkcja u¿ywana jest do weryfikacji czy link (wskazywany przez
+ <parameter>¶cie¿kê</parameter>) naprawdê istnieje (u¿ywana jest ta sama
metoda
+ co w makrze S_ISLNK zdefiniowanym w stat.h). Zwraca 0 lub &false; w przypadku
+ b³êdu.
</para>
<para>
- See also <function>symlink</function>, <function>link</function>,
- and <function>readlink</function>.
+ <example>
+ <title>przyk³ad <function>linkinfo</function></title>
+ <programlisting role="php">
+ <![CDATA[
+ <?php
+
+ echo linkinfo('/vmlinuz'); // 835
+
+ ?>
+ ]]>
+ </programlisting>
+ </example>
+ </para>
+ <para>
+ Patrz tak¿e: <function>symlink</function>, <function>link</function>
+ i <function>readlink</function>.
</para>
- ¬e.no-windows;
</refsect1>
</refentry>