Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ tcgetsid
Function
tcgetsid
src/termios/tc.rs:208–210 ·
view source on GitHub ↗
(fd: Fd)
Source
from the content-addressed store, hash-verified
206
#[inline]
207
#[doc(alias =
"TIOCGSID"
)]
208
pub fn tcgetsid<Fd: AsFd>(fd: Fd) -> io::Result<Pid> {
209
backend::termios::syscalls::tcgetsid(fd.as_fd())
210
}
211
212
/// `tcsetwinsize(fd)`—Set the current terminal window size.
213
///
Callers
1
sid_match
Function · 0.50
Calls
1
as_fd
Method · 0.45
Tested by
1
sid_match
Function · 0.40