Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ fd_get
Function
fd_get
components/dfs/dfs_v1/src/dfs.c:367–373 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
365
}
366
367
struct dfs_file *fd_get(int fd)
368
{
369
struct dfs_fdtable *fdt;
370
371
fdt = dfs_fdtable_get();
372
return fdt_fd_get(fdt, fd);
373
}
374
375
/**
376
* @ingroup group_fs_file_descriptor
Callers
15
open
Function · 0.70
openat
Function · 0.70
close
Function · 0.70
read
Function · 0.70
write
Function · 0.70
lseek
Function · 0.70
fstat
Function · 0.70
fsync
Function · 0.70
fcntl
Function · 0.70
ftruncate
Function · 0.70
fstatfs
Function · 0.70
mkdir
Function · 0.70
Calls
2
fdt_fd_get
Function · 0.85
dfs_fdtable_get
Function · 0.70
Tested by
1
test_dfs_rename
Function · 0.40