mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 09:33:25 +08:00
@@ -605,6 +605,10 @@ def fstat(fd: int) -> stat_result: ...
|
||||
def ftruncate(__fd: int, __length: int) -> None: ...
|
||||
def fsync(fd: FileDescriptorLike) -> None: ...
|
||||
def isatty(__fd: int) -> bool: ...
|
||||
|
||||
if sys.platform != "win32" and sys.version_info >= (3, 11):
|
||||
def login_tty(__fd: int) -> None: ...
|
||||
|
||||
def lseek(__fd: int, __position: int, __how: int) -> int: ...
|
||||
def open(path: StrOrBytesPath, flags: int, mode: int = ..., *, dir_fd: int | None = ...) -> int: ...
|
||||
def pipe() -> tuple[int, int]: ...
|
||||
|
||||
Reference in New Issue
Block a user