Home
last modified time | relevance | path

Searched refs:Termios (Results 1 - 9 of 9) sorted by relevance

/third_party/rust/crates/rustix/src/termios/
H A Dcf.rs1 use crate::termios::{Speed, Termios};
7 pub fn cfgetospeed(termios: &Termios) -> Speed { in cfgetospeed()
14 pub fn cfgetispeed(termios: &Termios) -> Speed { in cfgetispeed()
20 pub fn cfmakeraw(termios: &mut Termios) { in cfmakeraw()
26 pub fn cfsetospeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetospeed()
32 pub fn cfsetispeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetispeed()
38 pub fn cfsetspeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetspeed()
H A Dtc.rs6 Action, OptionalActions, QueueSelector, Speed, Tcflag, Termios, Winsize,
24 pub fn tcgetattr<Fd: AsFd>(fd: Fd) -> io::Result<Termios> { in tcgetattr()
94 termios: &Termios, in tcsetattr()
H A Dmod.rs785 tcsetpgrp, tcsetwinsize, Action, OptionalActions, QueueSelector, Speed, Tcflag, Termios,
/third_party/rust/crates/rustix/src/backend/linux_raw/termios/
H A Dsyscalls.rs14 Action, OptionalActions, QueueSelector, Termios, Winsize, BRKINT, CBAUD, CS8, CSIZE, ECHO,
36 pub(crate) fn tcgetattr(fd: BorrowedFd<'_>) -> io::Result<Termios> {
38 let mut result = MaybeUninit::<Termios>::uninit();
61 termios: &Termios,
147 pub(crate) fn cfgetospeed(termios: &Termios) -> u32 {
154 pub(crate) fn cfgetispeed(termios: &Termios) -> u32 {
159 pub(crate) fn cfmakeraw(termios: &mut Termios) {
175 pub(crate) fn cfsetospeed(termios: &mut Termios, speed: u32) -> io::Result<()> {
185 pub(crate) fn cfsetispeed(termios: &mut Termios, speed: u32) -> io::Result<()> {
198 pub(crate) fn cfsetspeed(termios: &mut Termios, spee
[all...]
H A Dtypes.rs58 pub type Termios = linux_raw_sys::general::termios; types
65 /// `tcflag_t`—A type for the flags fields of [`Termios`].
392 /// `ICANON`—A flag for the `c_lflag` field of [`Termios`] indicating
/third_party/rust/crates/nix/src/sys/
H A Dtermios.rs13 //! cases. The primary cost when using this API is that the `Termios` datatype here duplicates the
27 //! # use self::nix::sys::termios::{_POSIX_VDISABLE, Termios};
28 //! # let mut termios: Termios = unsafe { std::mem::zeroed() };
32 //! The flags within `Termios` are defined as bitfields using the `bitflags` crate. This provides
40 //! # use self::nix::sys::termios::{ControlFlags, Termios};
41 //! # let mut termios: Termios = unsafe { std::mem::zeroed() };
64 //! # use nix::sys::termios::{BaudRate, cfsetispeed, cfsetospeed, cfsetspeed, Termios};
66 //! # let mut t: Termios = unsafe { std::mem::zeroed() };
76 //! # use nix::sys::termios::{BaudRate, cfgetispeed, cfgetospeed, cfsetispeed, cfsetspeed, Termios};
78 //! # let mut t: Termios
236 pub struct Termios { global() structure names
256 impl Termios { global() impls
[all...]
/third_party/rust/crates/nix/src/
H A Dpty.rs12 use crate::sys::termios::Termios;
251 U: Into<Option<&'b Termios>>, in openpty()
338 pub unsafe fn forkpty<'a, 'b, T: Into<Option<&'a Winsize>>, U: Into<Option<&'b Termios>>>( in forkpty()
/third_party/rust/crates/rustix/src/backend/libc/termios/
H A Dsyscalls.rs18 use crate::termios::{Action, OptionalActions, QueueSelector, Speed, Termios, Winsize};
22 pub(crate) fn tcgetattr(fd: BorrowedFd<'_>) -> io::Result<Termios> {
23 let mut result = MaybeUninit::<Termios>::uninit();
48 termios: &Termios,
109 pub(crate) fn cfgetospeed(termios: &Termios) -> Speed {
116 pub(crate) fn cfgetispeed(termios: &Termios) -> Speed {
122 pub(crate) fn cfmakeraw(termios: &mut Termios) {
128 pub(crate) fn cfsetospeed(termios: &mut Termios, speed: Speed) -> io::Result<()> {
134 pub(crate) fn cfsetispeed(termios: &mut Termios, speed: Speed) -> io::Result<()> {
140 pub(crate) fn cfsetspeed(termios: &mut Termios, spee
[all...]
H A Dtypes.rs58 pub type Termios = c::termios; types
65 /// `tcflag_t`—A type for the flags fields of [`Termios`].
875 /// `ICANON`—A flag for the `c_lflag` field of [`Termios`] indicating

Completed in 5 milliseconds