FindNext Function

Microchip MDD File System Interface

MDDFS Interface Library Help
FindNext Function
C
int FindNext(
    SearchRec * rec
);
Description

The FindNext function performs the same function as the FindFirst funciton, except it does not copy any search parameters into the SearchRec structure (only info about found files) and it begins searching at the last directory entry offset at which a file was found, rather than at the beginning of the current working directory.

Preconditions

None

Parameters
Parameters 
Description 
rec 
The structure to store the file information in 
Return Values
Return Values 
Description 
File was found 
-1 
No additional files matching the specified criteria were found 
Side Effects

The FSerrno variable will be changed.

Remarks

Call FindFirst or FindFirstpgm before calling this function

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.