Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ end_trans
Function
end_trans
src/sys/console.rs:290–296 ·
view source on GitHub ↗
End-of-transmission
()
Source
from the content-addressed store, hash-verified
288
289
// End-of-transmission
290
pub fn end_trans() -> bool
291
{
292
interrupts::without_interrupts(||
293
{
294
STDIN.lock().contains(END_TRANS)
295
})
296
}
297
298
299
// Key-handler
Callers
nothing calls this directly
Calls
2
contains
Method · 0.80
lock
Method · 0.80
Tested by
no test coverage detected