File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,18 @@ namespace mbed {
35
35
* but only a subset needs to be provided.
36
36
*
37
37
* If a FileSystemLike class defines the opendir method, then the
38
- * directories of an object of that type can be accessed by
39
- * DIR *d = opendir("/example/directory") (or opendir("/example")
40
- * to open the root of the filesystem), and then using readdir(d) etc.
38
+ * directories of an object of that type can be accessed by either:
39
+ * @code
40
+ * DIR *d = opendir("/example/directory");
41
+ * @endcode
42
+ * or
43
+ * @code
44
+ * DIR *d = opendir("/example");
45
+ * @endcode
46
+ * to open the root of the file system.
41
47
*
42
48
* The root directory is considered to contain all FileHandle and
43
- * FileSystem objects, so the DIR* returned by opendir("/") will
49
+ * FileSystem objects, so the DIR pointer returned by opendir("/") will
44
50
* reflect this.
45
51
*
46
52
* @note to create a directory, @see Dir
You can’t perform that action at this time.
0 commit comments