From d7129e6058803743c0b183b4ac6ed10ed00d3c34 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Tue, 24 Jun 2014 05:56:13 +0200 Subject: adding fatfs directory --- src/gfile/fatfs/doc/en/getcwd.html | 70 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 src/gfile/fatfs/doc/en/getcwd.html (limited to 'src/gfile/fatfs/doc/en/getcwd.html') diff --git a/src/gfile/fatfs/doc/en/getcwd.html b/src/gfile/fatfs/doc/en/getcwd.html new file mode 100644 index 00000000..df84287e --- /dev/null +++ b/src/gfile/fatfs/doc/en/getcwd.html @@ -0,0 +1,70 @@ + + + + + + + + +FatFs - f_getcwd + + + + +
+

f_getcwd

+

The f_getcwd function retrieves the current directory.

+
+FRESULT f_getcwd (
+  TCHAR* buff, /* [OUT] Buffer to return path name */
+  UINT len     /* [IN] The length of the buffer */
+);
+
+
+ +
+

Parameters

+
+
buff
+
Pointer to the buffer to receive the current directory string.
+
len
+
Size of the buffer in unit of TCHAR.
+
+
+ + +
+

Return Values

+

+FR_OK, +FR_DISK_ERR, +FR_INT_ERR, +FR_NOT_READY, +FR_NOT_ENABLED, +FR_NO_FILESYSTEM, +FR_TIMEOUT, +FR_NOT_ENOUGH_CORE +

+
+ + +
+

Description

+

The f_getcwd() function retrieves full path name of the current directory of the current drive. When _VOLUMES is larger than 1, a logical drive number is added to top of the path name.

+
+ + +
+

QuickInfo

+

Available when _FS_RPATH == 2.

+
+ + +
+

See Also

+

f_chdrive, f_chdir

+
+ +

Return

+ + -- cgit v1.2.3