FS_ChangeDir

C Specification

#include <nitro/fs.h>

BOOL FS_ChangeDir( const char *dir );

Arguments

dir The path of the specified current directory.

Return Values

If it correctly sets the current directory, it returns TRUE. Otherwise it returns FALSE.

Description

This sets the current directory to the specified path name. For details on path name formatting, see the description of the FS_OpenFile function.
You can only set an existing directory to be the current directory.

See Also

FS_OpenFile, FS_FindDir, FS_FILE_NAME_MAX

Revision History

04/02/2004 Revised description due to the elimination of the path name length restriction.
04/01/2004 Initial Version