Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ end_text
Function
end_text
src/sys/console.rs:280–286 ·
view source on GitHub ↗
End-of-text
()
Source
from the content-addressed store, hash-verified
278
279
// End-of-text
280
pub fn end_text() -> bool
281
{
282
interrupts::without_interrupts(||
283
{
284
STDIN.lock().contains(END_TEXT)
285
})
286
}
287
288
289
// End-of-transmission
Callers
nothing calls this directly
Calls
2
contains
Method · 0.80
lock
Method · 0.80
Tested by
no test coverage detected