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/04/13 07:12] 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=" |
- | </ | + | |
- | [[findfirst]] ( | + | |
- | < | + | |
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
Line 19: | 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 28: | Line 23: | ||
< | < | ||
- | < | + | < |
- | ====Return | + | ====Return |
< | < | ||
Line 36: | Line 31: | ||
^KEY^TYPE^VALUE^ | ^KEY^TYPE^VALUE^ | ||
|filename|< | |filename|< | ||
- | |attributes|< | + | |attributes|< |
|filesize|< | |filesize|< | ||
- | |timestamp|< | + | |timestamp|< |
====Example==== | ====Example==== | ||
Line 55: | 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 native | + | [[timefromfat()]] - Convert a FAT filetime to a Linux Timestamp |
- | [[strftime()]] - Format | + | [[strftime()]] - Format |
- | [[chdir()]] - Change current directory | + | [[chdir()]] - Change |
[[file_exists()]] - Check if a file exists | [[file_exists()]] - Check if a file exists |