3 # This module is only available on Windows
4 if sys.platform == "win32":
10 def locking(__fd: int, __mode: int, __nbytes: int) -> None: ...
11 def setmode(__fd: int, __mode: int) -> int: ...
12 def open_osfhandle(__handle: int, __flags: int) -> int: ...
13 def get_osfhandle(__fd: int) -> int: ...
14 def kbhit() -> bool: ...
15 def getch() -> bytes: ...
16 def getwch() -> str: ...
17 def getche() -> bytes: ...
18 def getwche() -> str: ...
19 def putch(__char: bytes) -> None: ...
20 def putwch(__unicode_char: str) -> None: ...
21 def ungetch(__char: bytes) -> None: ...
22 def ungetwch(__unicode_char: str) -> None: ...
23 def heapmin() -> None: ...