pub fn tcgetsid<Fd>(fd: Fd) -> Result<Pid, Errno> ⓘwhere Fd: AsFd,
dep_rustix
tcgetsid(fd)—Return the session ID of the current session with fd as its controlling terminal.
tcgetsid(fd)
fd