MCPcopy 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
218pub 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

readFunction · 0.85
read_to_bytesFunction · 0.85
reopenFunction · 0.85

Calls 1

openFunction · 0.70

Tested by

no test coverage detected