Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ open
Function
open
user/src/file.rs:16–18 ·
view source on GitHub ↗
(path: &str, flags: OpenFlags)
Source
from the content-addressed store, hash-verified
14
sys_dup(fd)
15
}
16
pub fn open(path: &str, flags: OpenFlags) -> isize {
17
sys_open(path, flags.bits)
18
}
19
pub fn close(fd: usize) -> isize {
20
sys_close(fd)
21
}
Callers
7
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
worker
Function · 0.85
main
Function · 0.85
easy_fs_pack
Function · 0.85
efs_test
Function · 0.85
Calls
1
sys_open
Function · 0.70
Tested by
2
main
Function · 0.68
efs_test
Function · 0.68