Syntax
struct ffblk
{
char name[D_NAME+1];
char ext[D_EXT+1];
int filesize;
char search_name[D_NAME+1];
char search_ext[D_EXT+1];
int slot;
int drive;
unsigned char attrib;
};
Members
- name
- File name of the search result. (Maximum 8 characters)
- ext
- The extension of the file name of the search result. (Maximum 3 characters)
- filesize
- The number of bytes in the search result file.
- search_name
- Internally used by the findnext function.
- search_ext
- Internally used by the findnext function.
- slot
- Internally used by the findnext function.
- drive
- Search drive.
- attrib
-
File attributes of the search result. The bit structure of the file attribute is as follows:
Symbol Value Description AM_RDO 0x01 Read only AM_HID 0x02 Hidden AM_SYS 0x04 System AM_VOL 0x08 Volume label AM_LFN 0x0F LFN entry AM_DIR 0x10 Directory AM_ARC 0x20 Archive AM_MASK 0x3F Mask of defined bits
Remarks
A structure that stores the search results for the findfirst function or findnext function.Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Last updated: 2020/11/18