Searches for the next matching file after the current search results.

Syntax

int findnext(
  struct ffblk *ffblkp
);

Parameters

ffblkp
[in, out] A pointer to the ffblk structure that stores the search results.

Return value

If there is a file that matches the search conditions, OK is returned, otherwise ERROR is returned.

Remarks

The findfirst function searches for the first file, and this function searches for the second and subsequent files.
Finds the next matching file after the current search result stored in the ffblk structure and updates the structure if there is a next matching file.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Sample

See findfirst function.

See also

Last updated: 2020/11/18