cvs: phpdoc-hu /reference/filesystem/functions stat.xml

[email protected] ("Lajos Cseppent?")
Newsgroups php.doc.hu
Message-ID <cvschappy1170531214@cvsserver>
chappy		Sat Feb  3 19:33:34 2007 UTC

  Added files:                 
    /phpdoc-hu/reference/filesystem/functions	stat.xml 
  Log:
  sync
  

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/stat.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/stat.xml
+++ phpdoc-hu/reference/filesystem/functions/stat.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.13 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
  <refentry id="function.stat">
   <refnamediv>
    <refname>stat</refname>
    <refpurpose>Információkat ad egy fájlról</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
     <methodsynopsis>
      <type>array</type><methodname>stat</methodname>
      <methodparam><type>string</type><parameter>filename</parameter></methodparam>
     </methodsynopsis>
    <para>
     Statisztikákat gyûjt össze a <parameter>filename</parameter> paraméterben 
	 megnevezett fájlról. Ha a <parameter>filename</parameter> paraméter
     egy jelképes link, a statisztikák magáról a fájlról szólnak, nem a 
     linkrõl. A <function>lstat</function> függvény ugyanaz, mint a <function>
     stat</function> függvény, kivéve azt, hogy jelképes linkek esetén a 
     link adatait adja vissza.
    </para>
    <para>
     Hiba esetén a <function>stat</function> függvény &false;-szal tér vissza. Emellett
     még figyelmeztetést is ad.
    </para>
    <para>
     Egy tömböt ad vissza, ami tartalmazza a statisztikákat a fájlról
	 a következõ elemekben. Ez a tömb nulla alapú. Ezek az attribútumok a
	 a numerikus mód mellett elérhetõek asszociatív
	 mutatók segítségével is, ezeket minden paraméter mellé odaírtuk; ez a lehetõség
     PHP 4.0.6 óta érhetó el:
    </para>
    <para>
     <table>
      <title>A <function>stat</function> és <function>fstat</function> függvények
       visszatérési formátuma</title>
      <tgroup cols="3">
       <thead>
        <row>
         <entry>Numerikus</entry>
         <entry>Asszociatív (PHP 4.0.6 óta)</entry>
         <entry>Leírás</entry>
        </row>
       </thead>
       <tbody>
        <row>
         <entry>0</entry>
         <entry>dev</entry>
         <entry>eszköz (device) szám</entry>
        </row>
        <row>
         <entry>1</entry>
         <entry>ino</entry>
         <entry>inode szám</entry>
        </row>
        <row>
         <entry>2</entry>
         <entry>mode</entry>
         <entry>inode védelmi jogosultságok (mode)</entry>
        </row>
        <row>
         <entry>3</entry>
         <entry>nlink</entry>
         <entry>linkek száma</entry>
        </row>
        <row>
         <entry>4</entry>
         <entry>uid</entry>
         <entry>tulajdonos felhasználói azonosítója (userid)</entry>
        </row>
        <row>
         <entry>5</entry>
         <entry>gid</entry>
         <entry>tuladjonos csoportjának azonosítója (groupid)</entry>
        </row>
        <row>
         <entry>6</entry>
         <entry>rdev</entry>
         <entry>eszköz típusa, ha inode eszköz *</entry>
        </row>
        <row>
         <entry>7</entry>
         <entry>size</entry>
         <entry>méret bájtokban</entry>
        </row>
        <row>
         <entry>8</entry>
         <entry>atime</entry>
         <entry>utolsó hozzáférés idõpontja (Unix idõbélyeg)</entry>
        </row>
        <row>
         <entry>9</entry>
         <entry>mtime</entry>
         <entry>utolsó módosítás idõpontja (Unix idõbélyeg)</entry>
        </row>
        <row>
         <entry>10</entry>
         <entry>ctime</entry>
         <entry>utolsó inode-változás idõpontja (Unix idõbélyeg)</entry>
        </row>
        <row>
         <entry>11</entry>
         <entry>blksize</entry>
         <entry>fájlrendszer IO blokkmérete *</entry>
        </row>
        <row>
         <entry>12</entry>
         <entry>blocks</entry>
         <entry>kiosztott blokkok száma</entry>
        </row>

       </tbody>
      </tgroup>
     </table>

     * Csak a st_blksize típust támogató rendszereken mûködik - egyéb
     rendszereken (pl. Windows) -1-et ad.
    </para>
    
    &note.clearstatcache;

    &tip.fopen-wrapper.stat;
    
    <para>
     Lásd még: <function>lstat</function>,
     <function>fstat</function>,
     <function>filemtime</function> és
     <function>filegroup</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
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.