Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ write
Function
write
user/src/file.rs:28–30 ·
view source on GitHub ↗
(fd: usize, buf: &[u8])
Source
from the content-addressed store, hash-verified
26
sys_read(fd, buf)
27
}
28
pub fn write(fd: usize, buf: &[u8]) -> isize {
29
sys_write(fd, buf)
30
}
Callers
8
write_str
Method · 0.85
main
Function · 0.85
worker
Function · 0.85
main
Function · 0.85
main
Function · 0.85
set_kernel_trap_entry
Function · 0.85
set_user_trap_entry
Function · 0.85
activate
Method · 0.85
Calls
1
sys_write
Function · 0.70
Tested by
2
main
Function · 0.68
main
Function · 0.68