mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 13:51:30 +08:00
Add msvcrt.locking() and associated constants (#3607)
This commit is contained in:
committed by
Sebastian Rittau
parent
d5f1e58457
commit
910cfe4b83
@@ -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: ...
|
||||
Reference in New Issue
Block a user