Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ sid_match
Function
sid_match
tests/termios/sid.rs:24–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
#[cfg(all(feature =
"stdio"
, feature =
"process"
))]
23
#[test]
24
fn sid_match() {
25
match tcgetsid(rustix::stdio::stdin()) {
26
Ok(sid) => assert_eq!(sid, rustix::process::getsid(None).unwrap()),
27
Err(_err) => {}
28
}
29
}
Callers
nothing calls this directly
Calls
2
stdin
Function · 0.85
tcgetsid
Function · 0.50
Tested by
no test coverage detected