MCPcopy Index your code
hub / github.com/RustPython/RustPython / isatty

Function isatty

crates/vm/src/stdlib/os.rs:1597–1599  ·  view source on GitHub ↗
(fd: i32)

Source from the content-addressed store, hash-verified

1595
1596 #[pyfunction]
1597 pub fn isatty(fd: i32) -> bool {
1598 unsafe { suppress_iph!(libc::isatty(fd)) != 0 }
1599 }
1600
1601 #[pyfunction]
1602 pub fn lseek(

Callers 2

isattyMethod · 0.85
device_encodingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected