MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / tcsetpgrp

Function tcsetpgrp

src/termios/tc.rs:89–91  ·  view source on GitHub ↗
(fd: Fd, pid: Pid)

Source from the content-addressed store, hash-verified

87#[inline]
88#[doc(alias = "TIOCSPGRP")]
89pub fn tcsetpgrp<Fd: AsFd>(fd: Fd, pid: Pid) -> io::Result<()> {
90 backend::termios::syscalls::tcsetpgrp(fd.as_fd(), pid)
91}
92
93/// `tcsetattr(fd)`—Set terminal attributes.
94///

Callers 1

pgrp_pseudoterminalFunction · 0.50

Calls 1

as_fdMethod · 0.45

Tested by 1

pgrp_pseudoterminalFunction · 0.40