(fd: BorrowedFd<'_>, pid: Pid)
| 181 | |
| 182 | #[cfg(not(target_os = "wasi"))] |
| 183 | pub(crate) fn tcsetpgrp(fd: BorrowedFd<'_>, pid: Pid) -> io::Result<()> { |
| 184 | unsafe { ret(c::tcsetpgrp(borrowed_fd(fd), pid.as_raw_nonzero().get())) } |
| 185 | } |
| 186 | |
| 187 | #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] |
| 188 | pub(crate) fn tcsetattr( |
nothing calls this directly
no test coverage detected