tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

prfileinfo64.rst (1026B)


      1 PRFileInfo64
      2 ============
      3 
      4 File information structure used with :ref:`PR_GetFileInfo64` and
      5 :ref:`PR_GetOpenFileInfo64`.
      6 
      7 
      8 Syntax
      9 ------
     10 
     11 .. code::
     12 
     13   #include <prio.h>
     14 
     15   struct PRFileInfo64 {
     16      PRFileType type;
     17      PRUint64 size;
     18      PRTime creationTime;
     19      PRTime modifyTime;
     20   };
     21 
     22   typedef struct PRFileInfo64 PRFileInfo64;
     23 
     24 
     25 Fields
     26 ~~~~~~
     27 
     28 The structure has the following fields:
     29 
     30 ``type``
     31   Type of file. See :ref:`PRFileType`.
     32 ``size``
     33   64-bit size, in bytes, of file's contents.
     34 ``creationTime``
     35   Creation time per definition of :ref:`PRTime`. See
     36   `prtime.h <https://searchfox.org/mozilla-central/source/nsprpub/pr/include/prtime.h>`__.
     37 ``modifyTime``
     38   Last modification time per definition of :ref:`PRTime`. See
     39   `prtime.h <https://searchfox.org/mozilla-central/source/nsprpub/pr/include/prtime.h>`__.
     40 
     41 
     42 Description
     43 -----------
     44 
     45 The :ref:`PRFileInfo64` structure provides information about a file, a
     46 directory, or some other kind of file system object, as specified by the
     47 ``type`` field.