This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:findfirst [2017/05/08 14:23] jeff |
uphp:functions:findfirst [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | <well size=" |
- | < | + | |
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
Line 16: | Line 15: | ||
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
- | </ | + | </ |
- | </ | + | |
Begin a search to iterate through a list of files | Begin a search to iterate through a list of files | ||
Line 25: | Line 23: | ||
< | < | ||
- | < | + | < |
- | ====Return | + | ====Return |
< | < | ||
Line 33: | Line 31: | ||
^KEY^TYPE^VALUE^ | ^KEY^TYPE^VALUE^ | ||
|filename|< | |filename|< | ||
- | |attributes|< | + | |attributes|< |
|filesize|< | |filesize|< | ||
- | |timestamp|< | + | |timestamp|< |
====Example==== | ====Example==== | ||
Line 52: | Line 50: | ||
</ | </ | ||
- | ====See Also==== | + | ====Also |
[[findnext()]] - Return next matching file information (after a findfirst) | [[findnext()]] - Return next matching file information (after a findfirst) | ||
- | [[timefromfat()]] - Convert a FAT filetime to a Linux timestamp | + | [[timefromfat()]] - Convert a FAT filetime to a Linux Timestamp |
- | [[strftime()]] - Format a Linux timestamp | + | [[strftime()]] - Format a Linux Timestamp |
- | [[chdir()]] - Change current directory | + | [[chdir()]] - Change |
[[file_exists()]] - Check if a file exists | [[file_exists()]] - Check if a file exists |