X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/289f6a146c0b2087607d8d8659531ea90142779a..5630b9308323c3f3aaa09be8fe0f3aecaa826473:/fatfs/documents/doc/chdir.html?ds=sidebyside diff --git a/fatfs/documents/doc/chdir.html b/fatfs/documents/doc/chdir.html index 072b9e9..93e116c 100644 --- a/fatfs/documents/doc/chdir.html +++ b/fatfs/documents/doc/chdir.html @@ -25,7 +25,7 @@ FRESULT f_chdir (

Parameters

path
-
Pointer to the null-terminated string that specifies the directory to go.
+
Pointer to the null-terminated string that specifies the directory to be set as current directory.
@@ -50,7 +50,7 @@ FRESULT f_chdir (

Description

-

The f_chdir function changes the current directory of the logical drive. Also the current drive is changed at Unix style volume ID, FF_STR_VOLUME_ID == 2. The current directory of each logical drive is initialized to the root directory on mount.

+

The f_chdir function changes the current directory of the logical drive. Also the current drive will be changed when in Unix style drive prefix, FF_STR_VOLUME_ID == 2. The current directory of each logical drive is initialized to the root directory on mount.

Note that the current directory is retained in the each file system object and the current drive is retained in a static variable, so that it also affects other tasks that use the file functions.