FS_TellDir


C Specification

#include <nitro/fs.h>

BOOL FS_TellDir( const FSFile *p_dir, FSDirPos *p_pos );

Description

This acquires the list position that is currently maintained in the specified directory list as FSDirPos.

If you use this value when you call the FS_SeekDir function, you will be able to repeat the current list position once more.

Arguments

p_dir FSFile structure's address
p_pos The address of the structure that stores the directory position.

Return Values

If the directory entry is legal, it stores the value of FSDirPos that indicates current position, and returns TRUE.
Otherwise it returns FALSE.

See Also

FSFile, FSDirPos, FS_FindDir, FS_ReadDir, FS_SeekDir, FS_RewindDir

Revision History

05/14/2004 Revised description due to changes in FSDirPos
04/08/2004 Revised description due to the integration of FSDir and FSFile
04/01/2004 Initial Version