Add msvcrt.locking() and associated constants (#3607)

This commit is contained in:
Anthony Sottile
2020-01-11 08:23:42 -08:00
committed by Sebastian Rittau
parent d5f1e58457
commit 910cfe4b83

View File

@@ -2,5 +2,13 @@
# NOTE: These are incomplete!
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 get_osfhandle(file: int) -> int: ...
def open_osfhandle(handle: int, flags: int) -> int: ...