Function findnext

Top 

Declaration:

int findnext(char ffblk[]);

Description

Continues the search for files started by the findfirst function.

Parameter ffblk is the buffer filled upon the findfirst access.

After the findnext access, the ffblk buffer contains information on the found file. The _ff_attrib, _ff_time, _ff_date, _ff_size and _ff_name functions receive ffblk as the parameter and return information on the file.

Returned value

If the specified file is found, it will return 0, and -1 otherwise.

Example

See function findfirst.