Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/LibertyOS-Development/kernel
/ fh
Function
fh
src/sys/proc.rs:308–313 ·
view source on GitHub ↗
File handle
(handle: usize)
Source
from the content-addressed store, hash-verified
306
307
// File handle
308
pub fn fh(handle: usize) -> Option<Resource>
309
{
310
let tab = PROCTAB.read();
311
let proc = &tab[id()];
312
proc.data.filehandle[handle].clone()
313
}
314
315
316
// Delete file handle
Callers
3
dp
Function · 0.85
rd
Function · 0.85
wr
Function · 0.85
Calls
2
id
Function · 0.85
read
Method · 0.45
Tested by
no test coverage detected