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

containsMethod · 0.80
lockMethod · 0.80

Tested by

no test coverage detected