Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions opendir_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <dfs_posix.h>
#endif /*RT_VER_NUM >= 0x40100*/

#include <dfs_fs.h>

static void opendir_sample(void)
{
DIR *dirp;
Expand Down
2 changes: 2 additions & 0 deletions readdir_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <dfs_posix.h>
#endif /*RT_VER_NUM >= 0x40100*/

#include <dfs_fs.h>

static void readdir_sample(void)
{
DIR *dirp;
Expand Down
2 changes: 2 additions & 0 deletions tell_seek_dir_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <dfs_posix.h>
#endif /*RT_VER_NUM >= 0x40100*/

#include <dfs_fs.h>

/* 假设文件操作是在一个线程中完成 */
static void telldir_sample(void)
{
Expand Down