Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ file_open
Function
file_open
src/fs/mod.rs:218–222 ·
view source on GitHub ↗
Open file
(path: &str)
Source
from the content-addressed store, hash-verified
216
217
// Open file
218
pub fn file_open(path: &str) -> Option<usize>
219
{
220
let flags = 0;
221
crate::sys::sc::open(path, flags)
222
}
223
224
225
// File name
Callers
3
read
Function · 0.85
read_to_bytes
Function · 0.85
reopen
Function · 0.85
Calls
1
open
Function · 0.70
Tested by
no test coverage detected