nw::lyt::ARCSeekDir Function

Syntax

NW_INLINE void ARCSeekDir(
     ARCDir * dir,
     u32 loc
);

Arguments

Name Description
inout dir Directory structure.
in loc The read-out location to be set.

Return Values

Description

Changes the read-out location of a directory.

ARCSeekDir() specifies the location of the directory entry to be read out when ARCReadDir() is called.

First, specify the location to be obtained in the loc argument in a call to ARCTellDir().

This function is supposed to be used in combination with the ARCTellDir function. The current location can be saved using ARCTellDir(), and then restored later using ARCSeekDir().

Note: loc is not a directory entry number inside a directory.

See Also

ARCTellDir
ARCReadDir


CONFIDENTIAL