- This wiki is out of date, use the continuation of this wiki instead
Fileinfo
From FenixWiki
(Difference between revisions)
Revision as of 23:09, 16 June 2007 (edit) Sandman (Talk | contribs) m (→Definition) ← Previous diff |
Current revision (00:44, 26 December 2007) (edit) (undo) Sandman (Talk | contribs) m (→Definition) |
||
(2 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
[[category:variables]] | [[category:variables]] | ||
+ | [[category:predefined]] | ||
[[category:global variables]] | [[category:global variables]] | ||
+ | |||
+ | [[Global variables|'''Up to Global Variables''']] | ||
+ | |||
+ | ---- | ||
+ | |||
== Definition == | == Definition == | ||
'''Struct''' Fileinfo | '''Struct''' Fileinfo | ||
- | Fileinfo is a [[global|global variable]] [[struct]], containing information about a file/directory entry, returned by [[glob]](). | + | Fileinfo is a [[global|global variable]] [[struct]], containing information about a file/directory entry, last returned by [[glob]](). |
== Members == | == Members == | ||
Line 33: | Line 39: | ||
The strings ''created'' and ''modified'' are in the format: ''DD/MM/YYYY hh:mm'' | The strings ''created'' and ''modified'' are in the format: ''DD/MM/YYYY hh:mm'' | ||
+ | |||
+ | {{Globals}} |
Current revision
[edit] Definition
Struct Fileinfo
Fileinfo is a global variable struct, containing information about a file/directory entry, last returned by glob().
[edit] Members
Member name | - Description |
STRING path | - The path to the file/directory. |
STRING name | - The name of the file/directory. |
INT directory | - true/false: whether the file/directory is a directory or not |
INT hidden | - true/false: whether the file is hidden or not |
INT readonly | - true/false: whether the file is read only or not |
INT size | - The size of the file/directory. |
STRING created | - The date when the file/directory was created. |
STRING modified | - The date when the file/directory was last modified. |
[edit] Notes
The string path doesn't contain the name of the file/directory.
The strings created and modified are in the format: DD/MM/YYYY hh:mm
Global variables | |
• Argc • Argv • Cdinfo • Dump_type • Fading • Fileinfo • Fps • Frame_time • Full_screen • Graph_mode • Mouse • Os_id • Restore_type • Scale_mode • Scroll • Sound_channels • Sound_freq • Sound_mode • Text_flags • Text_z • Timer • |