MCPcopy 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}
28pub fn write(fd: usize, buf: &[u8]) -> isize {
29 sys_write(fd, buf)
30}

Callers 8

write_strMethod · 0.85
mainFunction · 0.85
workerFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
set_kernel_trap_entryFunction · 0.85
set_user_trap_entryFunction · 0.85
activateMethod · 0.85

Calls 1

sys_writeFunction · 0.70

Tested by 2

mainFunction · 0.68
mainFunction · 0.68