massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / msvcrt.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/msvcrt.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/msvcrt.pyi
new file mode 100644 (file)
index 0000000..0441ed8
--- /dev/null
@@ -0,0 +1,23 @@
+import sys
+
+# This module is only available on Windows
+if sys.platform == "win32":
+    LK_LOCK: int
+    LK_NBLCK: int
+    LK_NBRLCK: int
+    LK_RLCK: int
+    LK_UNLCK: int
+    def locking(__fd: int, __mode: int, __nbytes: int) -> None: ...
+    def setmode(__fd: int, __mode: int) -> int: ...
+    def open_osfhandle(__handle: int, __flags: int) -> int: ...
+    def get_osfhandle(__fd: int) -> int: ...
+    def kbhit() -> bool: ...
+    def getch() -> bytes: ...
+    def getwch() -> str: ...
+    def getche() -> bytes: ...
+    def getwche() -> str: ...
+    def putch(__char: bytes) -> None: ...
+    def putwch(__unicode_char: str) -> None: ...
+    def ungetch(__char: bytes) -> None: ...
+    def ungetwch(__unicode_char: str) -> None: ...
+    def heapmin() -> None: ...